From owner-freebsd-current Tue Jun 1 13:31:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 1B6081539F for ; Tue, 1 Jun 1999 13:31:22 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA20398; Tue, 1 Jun 1999 14:27:57 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA15700; Tue, 1 Jun 1999 14:27:56 -0600 Date: Tue, 1 Jun 1999 14:27:56 -0600 Message-Id: <199906012027.OAA15700@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: David Malone Cc: Nate Williams , Poul-Henning Kamp , Matthew Hunt , kip@lyris.com, current@freebsd.org Subject: Re: net.inet.tcp.always_keepalive on as default ? In-Reply-To: <19990601212045.A13137@bell.maths.tcd.ie> References: <19990601130331.A21176@wopr.caltech.edu> <22394.928267922@critter.freebsd.dk> <199906012015.OAA15519@mt.sri.com> <19990601212045.A13137@bell.maths.tcd.ie> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Can people live with a one week TCP keepalive as default ? > > > > Compromise. I like it. One week is certainly adequate for me. If I > > leave a link 'active' for longer than that w/out activity, I deserve to > > lose the link > > Surely that violates POLA? That upsets people who have keepalive > turned on already and find 1 week is way too long. For instance, > we use keepalive to get rid of stuck netscapes, and we'd probably > run out of swap or mbufs if it went up to a week. We just managed > by putting this in rc.local: > > sysctl -w net.inet.tcp.always_keepalive=1 As I understand it, it would always on, and 'one-week' would be the default. Old (traditional) programs that turned it on would be given the 'traditional' timeout of 1 hour. Or something like that. Off == 1 week KEEPALIVE ON == traditiona 1 hour KEEPALIVe. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message