防止Linux出现大量FIN_WAIT1

当连接数多时,经常出现大量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
====================================

运行/sbin/sysctl -p命令使其生效。

posted @ 2013-06-02 23:12  highfly2012  阅读(510)  评论(0编辑  收藏  举报