From owner-freebsd-net@FreeBSD.ORG Mon Dec 15 18:29:50 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3601D1065670 for ; Mon, 15 Dec 2008 18:29:50 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 141168FC1E for ; Mon, 15 Dec 2008 18:29:50 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTP id C343E46B39; Mon, 15 Dec 2008 13:29:49 -0500 (EST) Date: Mon, 15 Dec 2008 18:29:49 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Yony Yossef In-Reply-To: <000501c95ebe$709bddb0$220f000a@mtl.com> Message-ID: References: <000501c95ebe$709bddb0$220f000a@mtl.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: About netstat -m: What is "mbuf+clusters out of packet secondary zone in use" ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 18:29:50 -0000 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" >