Coping with the TCP TIME-WAIT state on busy Linux servers
本文为摘录(或转载),侵删,原文为: https://vincent.bernat.ch/en/blog/2014-tcp-time-wait-state-linux#summary
1 TL;DR
- 不用启用
net.ipv4.tcp_tw_recycle
, 该选项已在 Linux4.12 废弃 - 多数情况下,
TIME-WAIT
状态的 socket 无害
2 About the TIME-WAIT state
2.1 TCP state diagram

http://tcpipguide.com/free/t_TCPOperationalOverviewandtheTCPFiniteStateMachineF-2.htm