Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 18:29:49 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Yony Yossef <yonyossef.lists@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: About netstat -m: What is "mbuf+clusters out of packet secondary zone in use" ?
Message-ID:  <alpine.BSF.1.10.0812151828470.80196@fledge.watson.org>
In-Reply-To: <000501c95ebe$709bddb0$220f000a@mtl.com>
References:  <000501c95ebe$709bddb0$220f000a@mtl.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 15 Dec 2008, Yony Yossef wrote:

> I'm testing an Ethernet driver on FreeBSD 6.3.
>
> Running netstat -m during an ethernt stress test I see that the 
> "mbuf+clusters out of packet secondary zone in use" number is growing 
> gradualy. Problem is it never goes down after I stop the test, so it's 
> pushing the "mbufs in use" up until the following stress test iterations 
> reach the OS limit. What does this number mean?

It seems likely that one of two things is happening:

(1) a leak of mbuf + clusters
(2) a bug in stats on mbuf + clusters

Could you paste the output of "vmstat -z | grep -i mbuf" into an e-mail? 
That's the underlying vm stats from the zone used to generate netstat -m 
output, and might shed more light on things.

Robert N M Watson
Computer Laboratory
University of Cambridge

>
>
> 506391/126009/632400 mbufs in use (current/cache/total)
> 141035/121109/262144/262144 mbuf clusters in use (current/cache/total/max)
> 131054/610 mbuf+clusters out of packet secondary zone in use (current/cache)
>
>
> Thanks
> Yony
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



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