Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 18:49:36 +0100
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Gavin Atkinson <gavin@ury.york.ac.uk>
Cc:        freebsd-stable@freebsd.org, dillon@freebsd.org
Subject:   Re: mbuf usage - how do i track it down? 
Message-ID:   <200208211849.aa43591@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Wed, 21 Aug 2002 17:30:48 BST." <Pine.BSF.4.33.0208211647430.22899-100000@ury.york.ac.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.33.0208211647430.22899-100000@ury.york.ac.uk>, Gavin Atk
inson writes:
>
>So how do I find out what is actually allocating these mbufs. Something
>seems to be leaking them.

I hacked together a utility to help with this kind of thing some
time ago that might still compile on 4.6-STABLE. Grab the .c file
and Makefile from

	http://www.maths.tcd.ie/~iedowse/FreeBSD/minfo/

It does a pile of consistency checks and can dump mbuf contents
with the -x flag. Run it redirected to a file so that it gets
a resonably consistent snapshot of the system, and then examine
the file.

Ian

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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