- 论坛徽章:
- 0
|
from "securing-optimizing-linux-the-ultimate-solution-v2.0" p183:
Edit the sysctl.conf file (vi /etc/sysctl.conf) and add the following lines:
# Decrease the time default value for tcp_fin_timeout connection
net.ipv4.tcp_fin_timeout = 30
# Decrease the time default value for tcp_keepalive_time connection
net.ipv4.tcp_keepalive_time = 1800
# Turn off the tcp_window_scaling support
net.ipv4.tcp_window_scaling = 0
# Turn off the tcp_sack support
net.ipv4.tcp_sack = 0
# Turn off the tcp_timestamps support
net.ipv4.tcp_timestamps = 0
你试试看是不是有效...
还有大量存在,说明提供服务的程序有问题,可以考虑升级.
[ 本帖最后由 wysilly 于 2007-4-28 13:35 编辑 ] |
|