In the past days, we always modify sysctl.conf:
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
to increase the linux network performance
someday, we found that, in our company,
somebody can connect to the host, somebody can not
After just fucking goole it:
RFC1323 – TCP Extensions for High Performance
http://tools.ietf.org/html/rfc1323#page-29
http://tools.ietf.org/html/rfc1323#page-17
A guy write an article to discuss this mechanism
So, how to resolve this problem? mm, just set:
net.ipv4.tcp_tw_recycle = 0
in sysctl.conf and run sysctl -p to make it active
http://www.sysadmin.im/2011/06/07/16.html
本文讨论了通过修改sysctl.conf文件中的net.ipv4.tcp_tw_recycle和net.ipv4.tcp_tw_reuse参数来解决Linux系统中出现的部分用户可以连接、部分用户无法连接的问题。通过禁用这些设置(设置为0),可以有效提升网络性能。
1497

被折叠的 条评论
为什么被折叠?



