Thursday, March 17, 2005

Running out of user ports under stress

This is generally useful if you are creating and closing a lot of connections:
\HKLM\System\CurrentControlSet\Services\Tcpip\Parameters MaxUserPort REG_DWORD 0xfffe
\HKLM\System\CurrentControlSet\Services\Tcpip\Parameters TcpTimedWaitDelay REG_DWORD 0x2

No comments: