Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 17:01:40 +0400 (MSD)
From:      Varshavchick Alexander <alex@metrocom.ru>
To:        Alex de Kruijff <freebsd@akruijff.dds.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: nmbclusters and nmbufs
Message-ID:  <Pine.GSO.4.33.0308191657290.23624-100000@apache.metrocom.ru>
In-Reply-To: <20030819124642.GG13873@dds.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Aug 2003, Alex de Kruijff wrote:

> > Can anybody advise me please if I want to increase nmbclusters option in
> > kernel, can I just type
> > 	sysctl kern.ipc.nmbclusters="16384"
> > without rebooting the server, or is the only way to set the NMBCLUSTERS
> > option in kernel, install the new kernel and reboot?
>
> These variable are normaly readonly, so I think you do need to reboot.
>
> >
> > And secondly, also I need to increase nmbufs kernel option, but there
> > seems to be no such option in LINT, what should I tweak?
> > 	sysctl kern.ipc.nmbufs="32768" without rebooting
> > or
> > 	kern.ipc.nmbufs="32768" in /boot/loader.conf and reboot?
>
> It does exist: options         NMBUFS=4096.

Yes, but I guess I must have said that the system version is 4.5 and this
options didn't exist then.

>
> You seen to be low on a lot of resources. It could be an idee to set
> ``maxusers'' to a higher setting. These days a lot of varibles base
> there value on maxusers.
>

Maxusers is already set to a high value, but due to the extensive network
activity nmbufs and nmbclusters seemed to be lacking. Thank you for the
advices.

> --
> Alex
>
> Articles based on solutions that I use:
> http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
>


----
Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)





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