當鏈接數多時,常常出現大量FIN_WAIT1,能夠修改/etc/sysctl.conf
====================================
net.ipv4.tcp_fin_timeout = 10
net.ipv4.tcp_keepalive_time = 30
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_sack = 0
====================================tcp
運行/sbin/sysctl -p命令使其生效。ide