From owner-freebsd-stable Thu Aug 22 11:55:42 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 158C337B400 for ; Thu, 22 Aug 2002 11:55:40 -0700 (PDT) Received: from hoth.ffwd.cx (hoth.ffwd.cx [216.187.116.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6472043E88 for ; Thu, 22 Aug 2002 11:55:23 -0700 (PDT) (envelope-from skye@ffwd.cx) Received: from skye by hoth.ffwd.cx with local (Exim 3.13 #1) id 17hx6v-000CL5-00 for stable@freebsd.org; Thu, 22 Aug 2002 11:55:13 -0700 Date: Thu, 22 Aug 2002 11:55:13 -0700 From: Skye Poier To: stable@freebsd.org Subject: Re: mbuf usage - how do i track it down? Message-ID: <20020822115512.H43401@ffwd.cx> References: <200208211849.aa43591@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200208211849.aa43591@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Wed, Aug 21, 2002 at 06:49:36PM +0100 X-URL: http://www.ffwd.cx/ 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 Nice tool, thanks! Skye Word on the street is Ian Dowse said: > 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