wiki'd

by JoKeru

TCP Tuning for busy systems

[cc lang="bash"]
\$ vi /etc/sysctl.conf

# The wait time before TCP/IP can release a closed connection
net.ipv4.tcp_fin_timeout = 15
# The wait time between isAlive interval probes
net.ipv4.tcp_keepalive_intvl = 15
# The number of probes before timing out
net.ipv4.tcp_keepalive_probes = 5
# Reuse sockets in the time-wait state
net.ipv4.tcp_tw_reuse = 1
# Increase system IP port limits
net.ipv4.ip_local_port_range = 10000 65000

\$ sysctl -p
[/cc]

Comments