[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX
Parto Chobeiry
report at bugs.python.org
Sun Mar 23 17:51:12 CET 2014
Parto Chobeiry added the comment:
I thought you were kidding concerning "print()" -- thus I started using "python -m trace -t httpd.py" >trace 2>&1. The hanging does not occur when tracing (however, things slow down immensely naturally)!
When breaking the httpd.py while it is not serving anymore, the stack trace looks always like this:
^CTraceback (most recent call last):
File "httpd.py", line 3, in <module>
s.serve_forever()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 237, in serve_forever
poll_interval)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 155, in _eintr_retry
return func(*args)
KeyboardInterrupt
I will try to add some "print()" before the "return func(*args)"...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21035>
_______________________________________
More information about the Python-bugs-list
mailing list