[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-26 Thread Parto Chobeiry
Parto Chobeiry added the comment: Got feedback from Apple :-( Engineering has determined that this is an issue for a third party to resolve based on the following: This happens in stock python, it's a python issue. We are now closing this bug report. If you have questions regardin

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-26 Thread Parto Chobeiry
Parto Chobeiry added the comment: @neologix: I tried to patch socketserver.py from versions 2.7, 3.3 and 3.4 -- it fails all the time, slightly differing error messages but similar to this: u1@~/Projects$ patch <../Downloads/socketserver_use_selectors-1.diff can't find file to

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: Submitted a bug at bugreport.apple.com: #16401766 -- ___ Python tracker <http://bugs.python.org/issue21035> ___ ___ Python-bug

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: I think there is no need for print() -- it is hanging <>: def _eintr_retry(func, *args): """restart a system call interrupted by EINTR""" while True: try: return func(*args) <>

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
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 ht

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: TCP ports are available - did the following while running "ab" against "python3.4 -m http.server": u1@~$ while true; do netstat -an|grep tcp|wc; sleep 1; done 50 3003950 50 3003950 50 3003950