Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 1999 23:26:48 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: MBUFs ...
Message-ID:  <Pine.BSF.4.05.9906092326180.49155-100000@thelab.hub.org>
In-Reply-To: <Pine.BSF.4.03.9906091726430.3005-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Jun 1999, Doug White wrote:

> On Wed, 9 Jun 1999, The Hermit Hacker wrote:
> 
> > On Wed, 9 Jun 1999, Doug White wrote:
> > 
> > > On Tue, 8 Jun 1999, The Hermit Hacker wrote:
> > > 
> > > > According to netstat -m, my configuration is as such:
> > > > 
> > > > 840/1032/1024 mbuf clusters in use (current/peak/max)
> > > > 
> > > > Peak is 8 clusters over max...how is that possible?  And what does that
> > > > affect?
> > > 
> > > Network traffic.  Normally, the kernel panics when you run out of mbufs.
> > > 
> > > Solution:  increase maxusers.
> > 
> > Solution: leave maxusers, increase NMBCLUSTERS
> 
> Ha! We're both right.  From /sys/conf/param.c:
> 
> #ifndef NMBCLUSTERS
> #define NMBCLUSTERS (512 + MAXUSERS * 16)

The problem with MAXUSERS (that was suggested to me the other day) was
that you raise a bunch of other things that don't necessarily need to be
raised, wasting memory...

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9906092326180.49155-100000>