From owner-freebsd-net Fri Feb 4 21: 8: 2 2000 Delivered-To: freebsd-net@freebsd.org Received: from scam.xcf.berkeley.edu (scam.XCF.Berkeley.EDU [128.32.43.201]) by builder.freebsd.org (Postfix) with SMTP id 2EED54282 for ; Fri, 4 Feb 2000 21:08:01 -0800 (PST) Received: (qmail 24061 invoked by uid 8031); 5 Feb 2000 05:08:12 -0000 Message-ID: <20000205050812.24060.qmail@scam.xcf.berkeley.edu> To: Brian Somers Cc: freebsd-net@FreeBSD.ORG Subject: Re: Non-blocking sockets and network outages In-reply-to: Your message of "Fri, 04 Feb 2000 09:08:36 GMT." <200002040908.JAA00756@hak.lan.Awfulhak.org> X-Common-Yaroslav-Version: 2.0 Date: Fri, 04 Feb 2000 21:08:12 -0800 From: Gene Kan Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Keepalives are by default very infrequent: > > This means that the first keepalive won't be sent for 2 hours, at > which point up to 8 will be sent with 75 seconds in between each. If > there are no responses after that, the connection is dropped. Thanks so much! Problem solved. [straight6:~]sysctl -a | grep keep net.inet.ip.keepfaith: 0 net.inet.tcp.keepidle: 75000 net.inet.tcp.keepintvl: 1000 net.inet.tcp.keepinit: 75000 Aggressive, but who puts up with lagged net, anyway? :) (Is there any way to set these intervals per-socket with setsockopt?) Gene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message