That is what I stated; you don’t need it. It is that in Linux the application has to enable it and I don’t know of a kernel setting for Linux like the one in FreeBSD
That does not mean the connection has TCP keep alive enabled; it just means that if an application requests it those would be the defaults setting if it doesn’t provide its own. Those setting would be too large anyway; you want to be able to detect a broken connection much quicker than 18 hours.
I don’t believe it’s enabled; have you check to see that you getting keep alive packets? If it was enabled it would have terminated after 18 hours.
Put a firewall in-between the servers and drop the packets without sending resets. Have a read here: Section 4.2 The RFC states TCP keep alive should be off by default; FreeBSD changed that back in 1999 and I believe Linux still follows the RFC: |