Main Methods: tcptimedwaitdelay and maxuserport settings
Description: The time required to release a closed connection and reuse its resources. The time interval between disabling and releasing is generally referred to as the time_wait status or twice the maximum segment lifecycle (2msl) status. During this period, the cost of re-opening a connection to the client and server is less than creating a new connection. Reduce the value of this entry to allow TCP/IP to release closed connections more quickly and provide more resources for new connections. If the running application needs to be quickly released and created, and there are many connections in time_wait, resulting in low throughput, adjust this parameter. How to view or set: Use the Regedit command to access the HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/TCPIP/parameters registry subkey and create a new REG_DWORD value named tcptimedwaitdelay. Set this value to decimal 30, which is hexadecimal 0x0000001e. This value sets the wait time to 30 seconds. Stop and restart the system. Default Value: 0xf0, which sets the wait time to 240 seconds (4 minutes ). Recommended value: the minimum value is 0x1e, which sets the wait time to 30 seconds. Maxuserport Description: determines the maximum port number that a TCP/IP can specify when an application requests an available user port from the system. How to view or set: Use the Regedit command to access the HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/TCPIP/parameters registry subkey and create a new REG_DWORD value named maxuserport. Stop and restart the system. Default Value: No recommended value: At least decimal 32768. Note: When you adjust WebSphere Application Server on a Windows NT or Windows 2000 operating system, both parameters are used.
Tcpnumconnections
Item: TCPIP/parameters
Value Type: REG_DWORD-Number
Valid range: 0-0 xfffffe
Default Value: 0 xfffffe
Description: This parameter limits the maximum number of connections that can be opened simultaneously by TCP.