From owner-freebsd-stable Wed Oct 15 10:35:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA05034 for stable-outgoing; Wed, 15 Oct 1997 10:35:25 -0700 (PDT) (envelope-from owner-freebsd-stable) Received: from mail.uniserve.com (dns1-van.uniserve.com [204.244.163.48]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA05024 for ; Wed, 15 Oct 1997 10:35:22 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.com [204.244.210.252] by mail.uniserve.com with smtp (Exim 1.70 #1) id 0xLXLm-00018P-00; Wed, 15 Oct 1997 10:35:14 -0700 Date: Wed, 15 Oct 1997 10:35:11 -0700 (PDT) From: Tom To: Studded cc: Matthew M Groener , "stable@FreeBSD.ORG" Subject: Re: out of mbuf crash In-Reply-To: <199710151020.DAA04250@mail.san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 15 Oct 1997, Studded wrote: > nmbclusters kernel option. I've raised it to 15000 on a 2.2.1 system. nmbclusters are statically allocated. Pre-allocating 15000 will consume a LOT of RAM. > > 1383 mbufs in use: > 649 mbufs allocated to data > 725 mbufs allocated to packet headers > 8 mbufs allocated to protocol control blocks > 1 mbufs allocated to socket names and addresses > 62/3574 mbuf clusters in use > > The number after the / in the 6th line will tell you > (basically) the highest number of mbuf's ever requested (although I've > seen higher numbers in use than the max on the 6th). You want the > number of mbuf's available to be 50% greater than the max requested. The number after the "/", is the number of mbufs currently allocated, there may never have that many mbufs in use. When the number of mbufs in use reaches the number of mbufs allocated, another whole chunk of mbufs are allocated (assuming you have not reached the limit set by NMBCLUSTERS). > Hope this helps, > > Doug > > *** Proud operator, designer and maintainer of the world's largest > *** Internet Relay Chat server. 4,168 clients and still growing. :-) > *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) > > >