LA output, video output, console input/output & netstat TIME_WAIT

Peter B. Pokryshev ppb at valuehost.ru
Tue May 6 14:25:00 UTC 2014


Hello all.

9.2-STABLE FreeBSD 9.2-STABLE #0 r261226
highload servers

/etc/sysctl.conf:
security.bsd.see_other_uids=0
security.bsd.unprivileged_proc_debug=0
kern.ipc.somaxconn=4096
net.inet.ip.fw.dyn_max=65536
net.inet.ip.fw.dyn_syn_lifetime=10
net.inet.ip.fw.dyn_ack_lifetime=60
net.inet.ip.fw.dyn_buckets=512
kern.ipc.shmall=6291456
kern.ipc.shmmax=134217728

/boot/loader.conf:
kern.ipc.shmseg="512"
kern.ipc.shmmni="1024"


After 20-35 or more days of uptime, 
server stops showing realtime LA: show normal top, but first line not change:
last pid: 29849;  load averages:  2.36,  2.32,  2.28
                                  ^	^	^
                                  |	|	|
Then, servers stops video output and TCP process in state TIME_WAIT starts grow 
until limits:
# netstat -an |grep -c TIME_WAIT
27800

At the console, when I try typing - nothing changes, 
BUT when I take out console - I see what I type previously at the monitor.

Is any idea what is that? 

-- 
Peter B. Pokryshev <ppb at valuehost.ru>


More information about the freebsd-bugs mailing list