From owner-freebsd-stable Wed Sep 4 13:44:51 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 E8DB137B400 for ; Wed, 4 Sep 2002 13:44:46 -0700 (PDT) Received: from arutam.inch.com (ns.inch.com [216.223.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 294AA43E65 for ; Wed, 4 Sep 2002 13:44:46 -0700 (PDT) (envelope-from spork@inch.com) Received: from inch.com (inch.com [216.223.192.20]) by arutam.inch.com (8.12.2/8.12.2/UTIL-INCH-3.0.6) with ESMTP id g84KiiKM014822 for ; Wed, 4 Sep 2002 16:44:44 -0400 (EDT) Date: Wed, 4 Sep 2002 16:44:44 -0400 (EDT) From: Charles Sprickman To: stable@freebsd.org Subject: interpreting netstat -m output Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, I'm working with a box that is apparently running out of mbufs: looutput: mbuf allocation failed looutput: mbuf allocation failed All mbuf clusters exhausted, please see tuning(7). Looking at netstat -m, I get the following: 144/9472/26624 mbufs in use (current/peak/max): 134 mbufs allocated to data 10 mbufs allocated to packet headers 94/6656/6656 mbuf clusters in use (current/peak/max) 15680 Kbytes allocated to network (78% of mb_map in use) 95798 requests for memory denied 102 requests for memory delayed 0 calls to protocol drain routines What is the difference between the "mbufs in use" line and the "mbuf clusters in use" line? The clusters are showing that a max was exceeded, but not the mbufs line at top. Looking at tuning(7) and reading up in the archives, it looks like I do need to bump up nmbclusters in loader.conf, and possibly bump down the tcp socket send/recv space. Can anyone clarify the netstat output for me? Thanks, Charles -- Charles Sprickman spork@inch.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message