{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-stups/taupage/issues/153","labels_url":"https://api.github.com/repos/zalando-stups/taupage/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/taupage/issues/153/comments","events_url":"https://api.github.com/repos/zalando-stups/taupage/issues/153/events","html_url":"https://github.com/zalando-stups/taupage/issues/153","id":114630379,"number":153,"title":"Set TCP timeouts explicitly","user":{"login":"bocytko","id":711379,"avatar_url":"https://avatars.githubusercontent.com/u/711379?v=3","gravatar_id":"","url":"https://api.github.com/users/bocytko","html_url":"https://github.com/bocytko","followers_url":"https://api.github.com/users/bocytko/followers","following_url":"https://api.github.com/users/bocytko/following{/other_user}","gists_url":"https://api.github.com/users/bocytko/gists{/gist_id}","starred_url":"https://api.github.com/users/bocytko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocytko/subscriptions","organizations_url":"https://api.github.com/users/bocytko/orgs","repos_url":"https://api.github.com/users/bocytko/repos","events_url":"https://api.github.com/users/bocytko/events{/privacy}","received_events_url":"https://api.github.com/users/bocytko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T16:26:28Z","updated_at":"2015-11-02T16:53:38Z","closed_at":null,"body":"The TCP timeout is set to the default: 2h.\r\n\r\n```\r\n$ cat /proc/sys/net/ipv4/tcp_keepalive_time \r\n7200\r\n```\r\n\r\nA value in the range of minutes (for example: 1 minute) is desired."},"comment":{"url":"https://api.github.com/repos/zalando-stups/taupage/issues/comments/153081204","html_url":"https://github.com/zalando-stups/taupage/issues/153#issuecomment-153081204","issue_url":"https://api.github.com/repos/zalando-stups/taupage/issues/153","id":153081204,"user":{"login":"szuecs","id":50872,"avatar_url":"https://avatars.githubusercontent.com/u/50872?v=3","gravatar_id":"","url":"https://api.github.com/users/szuecs","html_url":"https://github.com/szuecs","followers_url":"https://api.github.com/users/szuecs/followers","following_url":"https://api.github.com/users/szuecs/following{/other_user}","gists_url":"https://api.github.com/users/szuecs/gists{/gist_id}","starred_url":"https://api.github.com/users/szuecs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szuecs/subscriptions","organizations_url":"https://api.github.com/users/szuecs/orgs","repos_url":"https://api.github.com/users/szuecs/repos","events_url":"https://api.github.com/users/szuecs/events{/privacy}","received_events_url":"https://api.github.com/users/szuecs/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T16:53:38Z","updated_at":"2015-11-02T16:53:38Z","body":"I would suggest something like we had on our databases, before.\r\n\r\nif 3 keepalives are not send connection is considered dead:\r\n\r\n    net.ipv4.tcp_keepalive_probes = 3\r\n\r\nkeepalive interval in seconds (both should be set!)\r\n\r\n    net.ipv4.tcp_keepalive_time = 60\r\n    net.ipv4.tcp_keepalive_intvl = 90\r\n\r\nhttp://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html"}}