Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 1999 11:20:19 -0700
From:      "Kurt D. Zeilenga" <Kurt@OpenLDAP.Org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        current@FreeBSD.ORG
Subject:   Re: net.inet.tcp.always_keepalive on as default ? 
Message-ID:  <3.0.5.32.19990604112019.009742a0@localhost>
In-Reply-To: <4932.928518962@critter.freebsd.dk>
References:  <Your message of "Fri, 04 Jun 1999 13:38:11 EDT."             <37580F03.88EFB07A@sitara.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:56 PM 6/4/99 +0200, Poul-Henning Kamp wrote:
>I still think the right thing is:
>
>	default to keepalives.
>	set the timeout to a week.

OpenLDAP slapd, like may other daemons, relies on timeouts being a
reasonably short (a few hours) to deal with dead streams.  Dead
streams occur for a wide variety of reasons and erver applications
need an effective mechanisms to deal with them.  Changing the
timeout to a week would render the SO_KEEPALIVE mechanism
ineffective.

Personally, I advocate using sysctl (in rc files) to set the
default to on and leaving the kernel alone.

Kurt
  


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990604112019.009742a0>