https://mzhan017.blog.csdn.net/article/details/107826490#Keep_alive_179
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c03474784
https://stackoverflow.com/questions/24428598/how-to-verify-tcp-keep-alive-on-linux
只有socket的keep-alive选项打开时,kernel才会做keep alive的操作。是kernel里TCP的一个机制。
/proc/sys/net/ipv4
tcp_keepalive_time = 7200 (seconds)
tcp_keepalive_intvl = 75 (seconds)
tcp_keepalive_probes = 9 (number of probes)
TCP keepalive process waits for two hours (7200 secs) for socket activity before sending
下一篇:Opts Pattern