From owner-freebsd-current Tue Jun 1 14:24:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id DDC0B15837 for ; Tue, 1 Jun 1999 14:24:44 -0700 (PDT) (envelope-from kip@lyris.com) Received: from luna.shelby.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id OAA07101; Tue, 1 Jun 1999 14:04:46 -0700 (PDT) Received: from (luna.shelby.com [207.90.155.6]) by luna.shelby.com with SMTP (MailShield v1.50); Tue, 01 Jun 1999 14:04:45 -0700 Date: Tue, 1 Jun 1999 14:04:45 -0700 (PDT) From: X-Sender: kip@luna To: David Schwartz Cc: Matthew Hunt , Julian Elischer , Poul-Henning Kamp , Nate Williams , current@freebsd.org Subject: RE: net.inet.tcp.always_keepalive on as default ? In-Reply-To: <000001beac71$af125a10$021d85d1@whenever.youwant.to> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: davids@webmaster.com,mph@astro.caltech.edu,julian@whistle.com,phk@critter.freebsd.dk,nate@mt.sri.com,current@freebsd.org X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This does make sense. I do some work on a mail server and I don't use keepalives because 2 hours is _too_much_ time to be wasting a descriptor. I periodically check how long a connection has been open and if it exceeds a certain amount I close the connection. -Kip On Tue, 1 Jun 1999, David Schwartz wrote: > > I think he was suggesting that the apps close the connection if they > receive no data from some amount of time. (Isn't this common sense?) > > DS > > > On Tue, Jun 01, 1999 at 01:30:31PM -0700, Julian Elischer wrote: > > > > > maybe we should fix our SERVER apps.. > > > e.g. telnetd, sshd, etc. to have 1 week timeouts > > > > IIRC, it is not possible to specify how long the keepalive interval > > should be, using the socket interface. Do you suggest we add a new > > interface not present in other Unix implementations, or that we make > > SO_KEEPALIVE always have a one-week timeout, surprising the other > > applications that expect it to be faster? > > > > Both of these seem remarkably unappealing to me. > > > > Matt > > > > -- > > Matthew Hunt * Inertia is a property > > http://www.pobox.com/~mph/ * of matter. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message