[issue8771] Socket freezing under load issue on Mac.

2011-01-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue8771] Socket freezing under load issue on Mac.

2011-01-12 Thread Alice Bevan-McGregor
Alice Bevan-McGregor 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 TIME_WAIT time. I will c

[issue8771] Socket freezing under load issue on Mac.

2011-01-12 Thread Charles-Francois Natali
Charles-Francois Natali 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 (net.ipv4.tcp_tw_{reuse,recycle}). There might

[issue8771] Socket freezing under load issue on Mac.

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 __

[issue8771] Socket freezing under load issue on Mac.

2010-05-20 Thread Jean-Paul Calderone
Jean-Paul Calderone 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 just OS X. -- nosy:

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
Alice Bevan-McGregor 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 on Mac (not just my

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread R. David Murray
R. David Murray 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 (perhaps requiring ad

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
Alice Bevan-McGregor added the comment: I can confirm this issue also effecting 2.5.4 on my Mac. -- versions: +Python 2.5 ___ Python tracker ___ _

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
New submission from Alice Bevan-McGregor : 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 demonstrate the pr