On Fri, Jun 04, 1999 at 03:32:02PM +0200, Pierre Beyssac wrote:

> I don't see what this fuss is all about. If for _some_ big servers
> there are many dead connections around after a while (*), why don't
> THEY use a sysctl at boot-time to change the default state, rather
> than impose on the rest of us a change that might not be as innocuous
> as it looks?

It might be nice to have two keepalive timeouts like Nate suggested.
You'd have a short one, which applies if the application turns on
keepalive or you have alwayskeepalive on. Then you'd have a long
one, which applies to all connections regardless. Then:

        1) To get the traditional behavior you set the long one
        to infinity and turn alwayskeepalive off.
        2) To get the sort of behavior that phk is advocating,
        without upsetting the rest of us you leave alwayskeepalive
        off and then set the long one to 1 week.
        3) For those of us with alwayskeepalive on, we'd get the
        traditional value of a few hours.

Would this be a useful or a silly addition?

        David.


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to