From owner-freebsd-stable Tue Jan 15 20:19:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by hub.freebsd.org (Postfix) with ESMTP id 377A237B404 for ; Tue, 15 Jan 2002 20:19:20 -0800 (PST) Received: from [10.0.1.90] (66-81-34-215-modem.o1.com [66.81.34.215]) by zoon.lafn.org (8.11.3/8.11.3) with ESMTP id g0G4JEl82890; Tue, 15 Jan 2002 20:19:14 -0800 (PST) (envelope-from bc979@lafn.org) Mime-Version: 1.0 X-Sender: bc979@mail.lafn.org Message-Id: In-Reply-To: <20020115133933.GA44311@maths.tcd.ie> References: <200201140227.NAA07734@lightning.itga.com.au> <20020115133933.GA44311@maths.tcd.ie> Date: Tue, 15 Jan 2002 20:16:14 -0800 To: David Malone From: Doug Hardie Subject: Re: mbuf usage Cc: stable@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 13:39 +0000 1/15/02, David Malone wrote: >On Sun, Jan 13, 2002 at 07:06:18PM -0800, Doug Hardie wrote: >> Is there any tool that shows the process or port to which mbufs are >> associated? One of my systems is showing 10K mbufs in use but there >> are only 2 tcp connections established and a couple of udp active >> processes. Trafshow shows nothing unusual. Very light load on the >> server but someting is eating mbufs. > >Some of Ian's libkvm tools might be useful: > > http://www.maths.tcd.ie/~iedowse/projects.html > >David. Thanks for the tip. I tried them and they give a very accurate picture of tcp/ip usage of mbufs. Unfortunately, it shows the same results as netstat - around 100 mbufs in use. However, netstat -m shows almot 10K in use. One of the tools shows the contents of the mbufs and many are completely nulls and others are obviously left over buffers as they have log file contents from weeks ago. What besides tcp/ip uses mbufs? Can mbufs become orphaned? -- -- Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message