From owner-freebsd-net Mon Jul 9 15:13:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 5C5D537B401 for ; Mon, 9 Jul 2001 15:13:32 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id AAA11018; Tue, 10 Jul 2001 00:07:55 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200107092207.AAA11018@info.iet.unipi.it> Subject: Re: sysctls keepidle and keepintvl In-Reply-To: <20010709230512.A918@gaia.home.rdls.net> from Richard Smith at "Jul 9, 2001 11:05:13 pm" To: Richard Smith Date: Tue, 10 Jul 2001 00:07:55 +0200 (CEST) Cc: net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Please cc me, as I'm not on this list. > > I am using 4.3-RELEASE, and investigating why I don't see > any keepalives (using tcpdump) on my connections. > > The default values are as follows: > net.inet.tcp.keepidle = 7200000 > net.inet.tcp.keepintvl = 75000 > > It seems to me that the keepalive interval is being set > by keepidle, thus setting keepidle = 20000, generates > keepalives at 20s intervals. whatever is used, isn't the interval in seconds ? If so you must be very patient to see something... luigi > Looking at the comments in tcp_var.h, it should be > keepintvl that sets this interval. Otherwise, why > have such a large value for keepidle? > > Is this a bug? Or have I missed something, > > Many thanks, > Rich. > > -- > Richard Smith > Network Systems Director > Satamatics Ltd > Green Lane, Tewkesbury, GL20 8HD, United Kingdom > Tel: +44 1684 278610 > Fax: +44 1684 278611 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message