From owner-freebsd-net Mon Jul 9 15: 7: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from jezebel.demon.co.uk (jezebel.demon.co.uk [158.152.38.143]) by hub.freebsd.org (Postfix) with ESMTP id B2EBA37B405 for ; Mon, 9 Jul 2001 15:06:51 -0700 (PDT) (envelope-from rdls@jezebel.demon.co.uk) Received: (from rdls@localhost) by jezebel.demon.co.uk (8.11.1/8.11.1) id f69M5Dh01043 for net@freebsd.org; Mon, 9 Jul 2001 23:05:13 +0100 (BST) (envelope-from rdls) Date: Mon, 9 Jul 2001 23:05:13 +0100 From: Richard Smith To: net@freebsd.org Subject: sysctls keepidle and keepintvl Message-ID: <20010709230512.A918@gaia.home.rdls.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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. 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