Re: SO_KEEPALIVE - a solution for where X servers are shut down?
"Rob Currey" <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <00b401c56e2d$b248b420$23140a0a@romulus> |
read the rfc ... 2 hours is the minimum. from the RFC ... "This interval MUST be configurable and MUST default to no less than two hours." yes, you *might* be able to configure it shorter on some platforms. I will re-iterate .. this is not what you are after. ----- Original Message ----- From: "Nick Hill" <[email protected]> To: <[email protected]> Sent: Friday, June 10, 2005 12:29 PM Subject: Re: SO_KEEPALIVE - a solution for where X servers are shut down? > Rob Currey wrote: >> by default the keepalive interval is 2 hours (rfc1122) I doubt this is >> what you are looking for. > > If running the Linux kernel, the keepalive timer behaviour can be tuned at > runtime. > > Tunable settings are documented here: > http://www.die.net/doc/linux/man/man7/tcp.7.html > > So I could set the timer to kill TCP sockets which are no longer viable > after a shorter period. This would keep the server pretty clear of stale, > unwanted processes. That is so long as the Xlibs do implement SO_KEEPALIVE > and that the Xlibs based programs do actually die when the socket is > closed. > _______________________________________________ > Devel mailing list > [email protected] > http://XFree86.Org/mailman/listinfo/devel >