Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 19:46:15 -0700 (PDT)
From:      Tom <tom@sdf.com>
To:        Steve Bishop <steveb@veriohosting.com>
Cc:        freebsd-database@freebsd.org, freebsd-hackers@freebsd.org, "Paul.Marquess@btinternet.com" <Paul.Marquess@btinternet.com>
Subject:   Re: mbuf problem (panic)--possibly related to Berkeley DB 2.7.7
Message-ID:  <Pine.BSF.4.05.9910261942280.26596-100000@misery.sdf.com>
In-Reply-To: <38160B6A.5568F6D1@iserver.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 26 Oct 1999, Steve Bishop wrote:

> The scripts are designed to use the database a lot, and they also use a significant amount
> of network resources.  The scripts sometimes can have up to 900 open tcp connections,
>  and consistently use almost 600.  I have increased the number of mbuf clusters (NMBCLUSTERS)
> from 1024 to 4096.  I have also increased maxusers to 64.

  4096 isn't really that many mbufs.  You should double or triple that.  I
think that large web hosting people use 20000 mbufs.  That eats a LOT
of RAM, but at least you can shrug off the heaviest DoS attack.

  In fact, if you don't specify a number of mbufs in your kernel file,
MAXUSERS set to 64 will probably give you more than 4096 mbufs!

Tom



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" 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.9910261942280.26596-100000>