From owner-freebsd-current Fri Jun 4 11:25:58 1999 Delivered-To: freebsd-current@freebsd.org Received: from cantor.boolean.net (cantor.boolean.net [209.133.111.73]) by hub.freebsd.org (Postfix) with ESMTP id AF8B315B07 for ; Fri, 4 Jun 1999 11:25:53 -0700 (PDT) (envelope-from Kurt@OpenLDAP.Org) Received: from gypsy (localhost [127.0.0.1]) by cantor.boolean.net (8.9.2/8.9.1) with SMTP id SAA08263; Fri, 4 Jun 1999 18:22:51 GMT (envelope-from Kurt@OpenLDAP.Org) Message-Id: <3.0.5.32.19990604112019.009742a0@localhost> X-Sender: guru@localhost X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 04 Jun 1999 11:20:19 -0700 To: Poul-Henning Kamp From: "Kurt D. Zeilenga" Subject: Re: net.inet.tcp.always_keepalive on as default ? Cc: current@FreeBSD.ORG In-Reply-To: <4932.928518962@critter.freebsd.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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