大量TIME_OUT优化
vim /etc/sysctl.conf
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_fin_timeout = 10
et.ipv4.tcp_syncookies = 1
注意:net.ipv4.tcp_timestamps = 1 ,net.ipv4.tcp_tw_reuse、net.ipv4.tcp_tw_recycle 才有效
sysctl -p
参考文档:https://blog.csdn.net/English0523/article/details/79261439