From owner-freebsd-current Tue Jun 1 13:34:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id A722F150AD for ; Tue, 1 Jun 1999 13:34:10 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id WAA22638; Tue, 1 Jun 1999 22:32:12 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: David Malone Cc: Nate Williams , Matthew Hunt , kip@lyris.com, current@freebsd.org Subject: Re: net.inet.tcp.always_keepalive on as default ? In-reply-to: Your message of "Tue, 01 Jun 1999 21:20:45 BST." <19990601212045.A13137@bell.maths.tcd.ie> Date: Tue, 01 Jun 1999 22:32:12 +0200 Message-ID: <22636.928269132@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19990601212045.A13137@bell.maths.tcd.ie>, David Malone writes: >On Tue, Jun 01, 1999 at 02:15:05PM -0600, Nate Williams wrote: >> > 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 My intent was an "implementation" which would set: net.inet.tcp.keepidle: 86400 net.inet.tcp.keepintvl: 64800 net.inet.tcp.always_keepalive: 1 Leaving people to set whatever they want for a local policy. All I'm talking about is what our default should be... -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message