Skip site navigation (1)Skip section navigation (2)
Date:      06 Dec 2000 10:17:07 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "James Lim" <jameslpin@pacific.net.sg>
Cc:        "Sebastiaan van Erk" <sebster@sebster.com>, <freebsd-security@FreeBSD.ORG>
Subject:   Re: rx list
Message-ID:  <xzpvgsxrjsc.fsf@flood.ping.uio.no>
In-Reply-To: "James Lim"'s message of "Wed, 6 Dec 2000 15:20:40 %2B0800"
References:  <20001206081549.A49341@sebster.com> <002801c05f55$0a492ac0$fa5e78cb@gchang>

next in thread | previous in thread | raw e-mail | index | archive | help
"James Lim" <jameslpin@pacific.net.sg> writes:
>             You could try increasing the maxusers to 512 and later increase
> your NMBCLUSTERS to prolly 50000.

Maxusers is practically meaningless nowadays. It controls MAXFILES,
NMBCLUSTERS, NPROC and NSFBUFS, but MAXFILES and NMBCLUSTERS are
sysctl-settable (MAXFILES at runtime and NMBCLUSTERS at boot time),
and there's no reason why NPROC and NSFBUFS couldn't also be set at
boot time (patches are welcome!).

To solve the specific problem of running out of mbufs, add

kern.ipc.nmbclusters="large_number"

to your /boot/loader.conf.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvgsxrjsc.fsf>