Date: Tue, 19 Aug 2003 14:46:42 +0200 From: Alex de Kruijff <freebsd@akruijff.dds.nl> To: Varshavchick Alexander <alex@metrocom.ru> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: nmbclusters and nmbufs Message-ID: <20030819124642.GG13873@dds.nl> In-Reply-To: <Pine.GSO.4.33.0308191153290.9451-100000@apache.metrocom.ru> References: <Pine.GSO.4.33.0308191153290.9451-100000@apache.metrocom.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 19, 2003 at 11:53:57AM +0400, Varshavchick Alexander wrote: > Hi, > > 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. 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. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030819124642.GG13873>