[issue8771] Socket freezing under load issue on Mac.

2011-01-12 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: As explained by Jean-Paul, it's due to the fact that the closed TCP sockets spend some time in TIME-WAIT state before being deallocated. On Linux, this issue can be more or less worked-around using sysctl

[issue8771] Socket freezing under load issue on Mac.

2011-01-12 Thread Alice Bevan-McGregor
Alice Bevan-McGregor al...@gothcandy.com added the comment: Agreed; I'm now certain it's a local tuning issue. My first attempt to alter the file descriptor limits for local testing resulted in catastrophic system failure, though, so I have no clue as to the correct method to alter the

[issue8771] Socket freezing under load issue on Mac.

2011-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8771 ___ ___ Python-bugs-list

[issue8771] Socket freezing under load issue on Mac.

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This needs to be re-verified on a current version. -- nosy: +terry.reedy versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue8771] Socket freezing under load issue on Mac.

2010-05-20 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@twistedmatrix.com added the comment: Have you looked at the number of TIME_WAIT sockets you have on the system when your benchmark gets to the 16000 request mark? This looks exactly like a regular TCP limitation to me. You'll find the limit on any platform, not

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
New submission from Alice Bevan-McGregor al...@gothcandy.com: Using the wsgiref simple HTTP server or any other capable of 2000 requests/sec. demonstrates an issue with Macintosh sockets. Mac OS X Version: 10.6.3 (Build 10D573) Python Version: 2.6.1 (32-bit) The minimal application needed to

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
Alice Bevan-McGregor al...@gothcandy.com added the comment: I can confirm this issue also effecting 2.5.4 on my Mac. -- versions: +Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8771

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Why do you think this is a bug in Python? I'm not yet saying it isn't, but we'll need additional information to show that it is. Given that it works on Linux, it seems like the most likely case would be that it is an issue with the OS

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
Alice Bevan-McGregor al...@gothcandy.com added the comment: Unfortunately, unless I can get instructions on how to properly diagnose socket libraries, I've exhausted my ability to debug this. I used to be a C programmer, but that was 12 years ago. I'm hoping to a) confirm the problem exists