From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,689c0cf46879765c,start X-Google-Attributes: gidfee84,public From: david@threewiz.demon.co.uk (David Harvey-George) Subject: DEC OSF/1 Keep Alive Date: 1995/03/29 Message-ID: #1/1 X-Deja-AN: 100530340 sender: usenet@demon.co.uk x-posting-host: threewiz.demon.co.uk organization: 3Wiz mime-version: 1.0 newsgroups: comp.unix.osf.osf1 Hi, I'm sending this on behalf of a friend who is running DEC's OSF/1 as part of a multiserver command and control system. They have the problem of clients connecting to servers using sockets. Sometimes the server dies and they want the client to detect this and return immediately. Apparently DEC's OSF/1 has a Keep Alive time of 2 hours as standard, so the client hangs around for that time. My friend has patch the kernel variable TCP_KEEP_ALIVE and reduces this time to 11 minutes, what he wants is about 15 seconds! He has also tried patching TCP_MAX_IDLE (not allowed) and INTVL (made no difference) with the kernel debugger. These were DEC's suggested solution. He also changed TCP_KEEPIDLE and TCP_KEEPINVL in tcp_timer.h and rebuilt and rebooted the kernel. Again these made no difference. Can anyone Email some solution to this problem. DEC in the UK don't seem to be too hot on this issue. David (david@threewiz.demon.co.uk) ps I suggested putting in a 15 second alarm and interrupting the system call.