[issue8771] Socket freezing under load issue on Mac.

Charles-Francois Natali report at bugs.python.org
Wed Jan 12 21:38:59 CET 2011


Charles-Francois Natali <neologix at 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 (net.ipv4.tcp_tw_{reuse,recycle}). There might be something similar on OS-X.
It's definitely an OS-level tuning issue.
Suggesting to close.

----------
nosy: +neologix

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8771>
_______________________________________


More information about the Python-bugs-list mailing list