Surprising `netstat -m' output

Hiten Pandya hmp at backplane.com
Mon Jun 20 00:13:04 PDT 2005


YONETANI Tomokazu wrote:
Hello.
I'm seeing strange numbers from `netstat -m' on recent -CURRENT:
$ cd /usr/src && cvs up -dP	(to pull the source from local pserver)
$ netstat -m
258/2/13312 mbufs in use (current/peak/max):
        258 mbufs allocated to data
4294966501/4294966501/6656 mbuf clusters in use (current/peak/max)
4192714 Kbytes allocated to network (242% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
I can reproduce this on kernels built today and on 16th. The numbers
from `vmstat -m' don't look unusual, so maybe it's not really an mbuf
leak?
Regards.
	Not leak, but I think the netstat utility needs to be changed
	so that it works with the "new" type of mbuf stats returned
	from the kernel.
				Hiten Pandya





More information about the Bugs mailing list