On Mon, Jul 11, 2011, Stuart Henderson wrote:
> Trying to work out a good way to describe always_keepalive in
> a short enough space for a sysctl.conf comment, this is the best
> I've come up with. Can anyone do better? OK?

I think it'd be a big help to explain that these are half-seconds.  I
think a comment of "Keepalive after 600 half-seconds = 5 minutes" would be
most informative.

> 
> Index: sysctl.conf
> ===================================================================
> RCS file: /cvs/src/etc/sysctl.conf,v
> retrieving revision 1.52
> diff -u -p -r1.52 sysctl.conf
> --- sysctl.conf       24 Jun 2011 19:47:48 -0000      1.52
> +++ sysctl.conf       11 Jul 2011 20:58:50 -0000
> @@ -13,6 +13,8 @@
> #net.inet6.ip6.mforwarding=1  # 1=Permit forwarding (routing) of IPv6
> multicast packets
> #net.inet6.ip6.multipath=1    # 1=Enable IPv6 multipath routing
> #net.inet6.ip6.accept_rtadv=1 # 1=Permit IPv6 autoconf (forwarding must
> be 0)
> +#net.inet.tcp.always_keepalive=1# 1=Always send keepalives for TCP
> +#net.inet.tcp.keepidle=600   # Keepalive after idle for
> tcp.keepidle/tcp.slowhz seconds
> #net.inet.tcp.rfc1323=0               # 0=Disable TCP RFC1323 extensions (for 
> if tcp
> is slow)
> #net.inet.tcp.rfc3390=0               # 0=Disable RFC3390 for TCP window 
> increasing
> #net.inet.esp.enable=0                # 0=Disable the ESP IPsec protocol

Reply via email to