From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 06:23:26 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 5FA4216A4BF for ; Tue, 19 Aug 2003 06:23:26 -0700 (PDT) Received: from franklin-belle.com (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E2C343FA3 for ; Tue, 19 Aug 2003 06:23:25 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea.sage-american [10.0.0.3]) by franklin-belle.com (8.12.8p1/8.12.8) with SMTP id h7JDNHBu024020; Tue, 19 Aug 2003 08:23:21 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030819082321.0130b688@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 19 Aug 2003 08:23:21 -0500 To: Alex de Kruijff , Varshavchick Alexander From: "Jack L. Stone" In-Reply-To: <20030819124642.GG13873@dds.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-1.9 required=4.5 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.55-fbelle.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.55-fbelle.rules_v1 (1.174.2.19-2003-05-19-exp) 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 13:23:26 -0000 At 02:46 PM 8.19.2003 +0200, Alex de Kruijff wrote: >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 > If using 4.5++, then set the "maxusers=0" in the kernel and the system will calculate its own needs dynamically..... up to 4.4, maxusers were a "32" default in the generic kernel. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net