Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Feb 2000 21:08:12 -0800
From:      Gene Kan <genehkan@scam.xcf.berkeley.edu>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Non-blocking sockets and network outages 
Message-ID:  <20000205050812.24060.qmail@scam.xcf.berkeley.edu>
In-Reply-To: Your message of "Fri, 04 Feb 2000 09:08:36 GMT." <200002040908.JAA00756@hak.lan.Awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000205050812.24060.qmail>