Detecting network memory leaks using netstat -m

Yehonatan Yossef yoniy at mellanox.co.il
Sun Dec 14 08:16:23 PST 2008


Hi All,

I'm trying to find out whether my ethernet driver is leaking.
I just found out about netstat -m, but I don't understand some of it's
output.

Can somebody explain me what is "mbuf+clusters out of packet secondary
zone in use" ?
My output shows it raised significantly during equilibrium after several
stress runs:

BEFORE

16641/217734/234375 mbufs in use (current/cache/total)
16640/217766/234406/262144 mbuf clusters in use
(current/cache/total/max)
256/1664 mbuf+clusters out of packet secondary zone in use
(current/cache)

AFTER

625083/86562/711645 mbufs in use (current/cache/total)
180264/81880/262144/262144 mbuf clusters in use
(current/cache/total/max)
160420/311 mbuf+clusters out of packet secondary zone in use
(current/cache)

Thanks
Yony


More information about the freebsd-questions mailing list