Chad Don Cooper Projects and ponderings…

4Feb/160

Avoiding TCP/IP Port Exhaustion

Having had lots of network problems with TIME_WAIT and "no client ports available", I finally got around to tweaking the TCP/IP pool settings on my Windows Server.
The following settings can be found in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
I used the following settings (DWORD32 Decimal):

  1. TcpTimedWaitDelay = 30
  2. MaxUserPort = 65534
  3. TcpNumConnections = 16777214
  4. TcpMaxDataRetransmissions = 5

I probably need to look at what's running in more detail at some point, but these settings have kept everything humming along for the time being.

Filed under: Fixes Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.