Hello all,
I have a Soekris net5501 acting as a router and proxy for certain VLANs.
X number of days after boot, I was experiencing network lockups (serial
console still worked fine). I think I have tracked the issue down to
mbuf exhaustion. I increased kern.maxclusters as a temporary fix, but
it appears that I will still need to reboot in the near future.
"netstat -m" produces:
43827 mbufs in use:
43769 mbufs allocated to data
51 mbufs allocated to packet headers
7 mbufs allocated to socket names and addresses
7469/7536/12800 mbuf 2048 byte clusters in use (current/peak/max)
0/8/12800 mbuf 4096 byte clusters in use (current/peak/max)
0/8/12800 mbuf 8192 byte clusters in use (current/peak/max)
0/8/12800 mbuf 9216 byte clusters in use (current/peak/max)
0/8/12800 mbuf 12288 byte clusters in use (current/peak/max)
0/8/12800 mbuf 16384 byte clusters in use (current/peak/max)
0/8/12800 mbuf 65536 byte clusters in use (current/peak/max)
0 Kbytes allocated to network (0% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
"systat mbufs" produces:
FACE LIVELOCKS SIZE ALIVE LWM HWM CWM
System 0 256 43976 2768
2048 7494 3783
lo0
vr0
vr1
vr2
vr3
enc0
vlan10
pflog0
pppx0
I run a Tor transparent proxy on an open SSID/VLAN on this box. I
suspect this is the culprit, but is there any way to confirm other than
killing the server and waiting to see if the mbufs rise?