From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 05:52:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB5DB16A4BF for ; Tue, 19 Aug 2003 05:52:22 -0700 (PDT) Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1074643F3F for ; Tue, 19 Aug 2003 05:52:22 -0700 (PDT) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp05.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HJV006TKAF1ZK@smtp05.wxs.nl> for freebsd-questions@FreeBSD.ORG; Tue, 19 Aug 2003 14:52:14 +0200 (MEST) Received: from Intranet.lan (akruijff@localhost [127.0.0.1]) h7JCkiQT069458;akruijff@Intranet.lan) Received: (from akruijff@localhost) by Intranet.lan (8.12.8p1/8.12.8/Submit) id h7JCkgAu069457; Tue, 19 Aug 2003 14:46:42 +0200 (CEST) Date: Tue, 19 Aug 2003 14:46:42 +0200 From: Alex de Kruijff In-reply-to: To: Varshavchick Alexander Message-id: <20030819124642.GG13873@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: cc: freebsd-questions@FreeBSD.ORG Subject: Re: nmbclusters and nmbufs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 12:52:23 -0000 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/