Tune the tcp keepalive parameters to shorten the lifetime duration of these sockets -- there are couple of them, see:

Also, you can tune at OS level with sysctl. The OS value can be seen in the file:

/proc/sys/net/ipv4/tcp_keepalive_time


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.