只有在访问量大的情况下,才可能出现这种情况,需要更改以下二个参数,把TCP协议包时间效验关闭,即可
sysctl -w net.ipv4.tcp_tw_recycle=0
sysctl -w net.ipv4.tcp_timestamps=0
默认情况下
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_tw_recycle = 0
查看默认值
sysctl net.ipv4.tcp_timestamps
sysctl net.ipv4.tcp_tw_recycle