From owner-freebsd-net Wed Oct 31 13:48:49 2001 Delivered-To: freebsd-net@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 7E81B37B403 for ; Wed, 31 Oct 2001 13:48:43 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id f9VLmcB83267; Wed, 31 Oct 2001 22:48:38 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Wed, 31 Oct 2001 22:48:38 +0100 (CET) Message-Id: <200110312148.f9VLmcB83267@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG, abush@microcenter.com Reply-To: freebsd-net@FreeBSD.ORG Subject: Re: tuning network limits? In-Reply-To: <3BDFFCEC.32FF9CC@mail.microcenter.com> X-Newsgroups: list.freebsd-net User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Aaron Bush wrote: > [...] > tosh# netstat -m > 623/2304/4096 mbufs in use (current/peak/max): > 263 mbufs allocated to data > 360 mbufs allocated to packet headers > 239/1024/1024 mbuf clusters in use (current/peak/max) ^^^^^^^^^ > 2624 Kbytes allocated to network (85% of mb_map in use) > 9152 requests for memory denied > 3 requests for memory delayed > 0 calls to protocol drain routines > > What other tools can i use to determine where the problem may be. The line marked above is exactly your problem. Either compile a larger number of NMBCLUSTERS into your kernel, or use the appropriate loader.conf option to set the value at boot time. By the way, you're lucky -- Earlier versions of FreeBSD tended to panic sometimes when the mbuf limit was hit. ;-) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message