Windows操作系统TIME_WAIT状态的TCP连接快速回收时间 【30S以下不生效,原因不知】
https://blog.csdn.net/stillfantasy1988/article/details/43196627
CentOS TCP TIME_WAIT 参数设置
https://blog.csdn.net/tomas_wade/article/details/38059255
https://blog.51cto.com/7994704/1846673
vim /etc/sysctl.conf
#time_wait
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_recycle = 1
#修改系統默认的TIMEOUT时间
net.ipv4.tcp_fin_timeout = 5
net.ipv4.tcp_tw_reuse = 1
#time wait 最高的队列数
net.ipv4.tcp_max_tw_buckets = 5000