High number of TIME_WAIT sockets and tcp_tw_recycle

Check by :
netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort -nr| uniq -c

Then make changes.

In order to revert back the ‘tcp_tw_recycle’ changes delete following lines from /etc/sysctl.conf

net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1


Publié

dans

par

Étiquettes :