The TCP time wait interval specifies the length of time that a socket waits for a FIN packet from the sender before forcibly closing. In high-load environments, the proxy server may appear to stall if a large number of sockets remain suspended in the TIME_WAIT state after their connections are closed. Reducing the TCP time wait interval will reduce the number of suspended sockets and, in high-load environments, may prevent the proxy server from appearing to stall. It is recommended that this interval be set to 5 seconds.
To set the TCP time wait interval to 5 seconds:
Issue the following command:
ndd /dev/tcp -set tcp_time_wait_interval 5000
Use the "sam" utility to set the kernel parameter max_thread_proc to at least 2048.
Issue the following commands:
echo "1024 61000" > /proc/sys/net/ipv4/ip_local_port_range echo "5" > /proc/sys/net/ipv4/tcp_fin_timeout
Issue the following command:
ndd /dev/tcp -set tcp_time_wait_interval 5000
Edit the /etc/system file to read as follows::
set tcp:tcp_conn_hash_size=8129
A registry entry must be created set a TCP time wait interval. Refer to your Windows documentation for more information.