I am wondering, does anyone know if there is a setting within linux that designates the max amount of time a socket is allowed open? I ask this because for whatever reason, no matter if there is data streaming or not, my sockets close after 7200 seconds on the dot. Its extremely strange, I'm using Python btw.

  • 3
    This doesn't sound like a Linux thing. Check all firewalls and NAT devices in the path between you and the remote server. – Michael Hampton Nov 5 '18 at 19:01
  • 1
    There is no such thing as a max amount of time a socket can be open and also no related tuning. – Steffen Ullrich Nov 5 '18 at 19:06
  • Have you checked the other end? Could also possibly be a "protection" on that end, though closing the connection while data is exchanged sounds nonsensical. – TerDale Nov 6 '18 at 9:59

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.