Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 15:33:16 +0300
From:      sig <sig@uct.kiev.ua>
To:        freebsd-questions@FreeBSD.ORG
Subject:   net.inet.tcp.keepidle
Message-ID:  <14214272753.20020623153316@uct.kiev.ua>

next in thread | raw e-mail | index | archive | help
FreeBSD 4.5-RELEASE-p6

sysctl

net.inet.tcp.keepidle: -1389934

i found in descriptions, that default value must be 2 hours
i.e. 72000 seconds.

But why sysctl shows negative value??

Can it be, that timeout is stored in milliseconds (72000000) , but
variable holding this value is a WORD instead a DWORD??

Or this just an incorrent sysctl output??

i tried to change the value:

#sysctl net.inet.tcp.keepidle=7200000
net.inet.tcp.keepidle: -1389934
sysctl: net.inet.tcp.keepidle: Invalid argument

^^^ didnt works

#sysctl net.inet.tcp.keepidle=7200
net.inet.tcp.keepidle: -1389934 -> 7200

^^^ changed ok

And finally, i want ask, can be this error (when keepidle<0) damage
a system stability?
Out server is hangs 2-3 times per week. And we can't
find the cause. No errors in logs, no core dumps - nothing!!! Server just
stops react to anything.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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