From owner-freebsd-stable Wed Aug 21 10:49:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C412F37B400; Wed, 21 Aug 2002 10:49:38 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id A0DB443E42; Wed, 21 Aug 2002 10:49:37 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 Aug 2002 18:49:36 +0100 (BST) To: Gavin Atkinson Cc: freebsd-stable@freebsd.org, dillon@freebsd.org Subject: Re: mbuf usage - how do i track it down? In-Reply-To: Your message of "Wed, 21 Aug 2002 17:30:48 BST." Date: Wed, 21 Aug 2002 18:49:36 +0100 From: Ian Dowse Message-ID: <200208211849.aa43591@salmon.maths.tcd.ie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , 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