In Linux, in order to avoid running out of sockets you can use the following as root:
Backwards. I'm not running out of sockets in Debian, even though I'm creating sockets 3x faster than one Windows.
/proc/sys/net/ipv4/tcp_tw_recycle contains a zero. netstat -a shows a bajillion sockets in TIME_WAIT.
Why is it not running out of sockets?
In reply to Re^3: Socket hang. (Windows or Perl? Solutions?) (Updated)
by ikegami
in thread Socket hang. (Windows or Perl? Solutions?) (Updated)
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |