Subject: Re: tools for tracking mbuf usage
To: harold barker <hvb@efrontier.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 06/09/2005 22:23:35
On Wed, Jun 08, 2005 at 03:23:01PM -0700, harold barker wrote:
>
> I seem to have mbuf leak or at least some app is being a bit of a
> pig. Standard symptoms dmesg WARNING: mclpool limit reached;
> increase NMBCLUSTERS, and system hanging. I have poked around the
> archives but found no answers, just other people asking the same
> question.
>
> What tools are available for tracking and debugging mbuf usage?
> I have found netstat -m, but notice that Open BSD gives more info ;-)
> any others?
> netstat -m
> 39969 mbufs in use:
> 36351 mbufs allocated to data
> 3618 mbufs allocated to packet headers
> 23356 calls to protocol drain routines
Also netstat without options, and look at the send-queues.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--