清理TIME_WAIT

cat >> /etc/sysctl.conf << EOF
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_fin_timeout=30
EOF
sysctl -p

原文地址:https://www.cnblogs.com/yunweiqiang/p/8488680.html