[OpenAFS] OpenAFS Client Availability

Chaskiel M Grundman cg2v@andrew.cmu.edu
Thu, 08 Mar 2007 15:39:51 -0500


--On Thursday, March 08, 2007 10:28:17 AM -0900 ted creedon 
<tcreedon@easystreet.com> wrote:

> On Linux sysctl -q ip_ct_udp_timeout_stream gets an unknown key error.
>
> Where else can I look in the Linux and Freebsd boxes?

you want
net.ipv4.netfilter.ip_conntrack_udp_timeout, and
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream


> unsigned int ip_ct_udp_timeout = 30*HZ;
> unsigned int ip_ct_udp_timeout_stream = 180*HZ;
> in .config CONFIG_HZ_250=y
>
> so the default values published assume an RTC clock frequency of 1 HZ,
> which it is not.

the sysctl stuff converts the values between jiffies and seconds as 
appropriate. There is no need to take HZ into account unless you mangle the 
variables directly.