From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 05:35:45 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 D9D8316A4BF for ; Tue, 19 Aug 2003 05:35:45 -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 1847C43FB1 for ; Tue, 19 Aug 2003 05:35:45 -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 h7JCZfBu023693; Tue, 19 Aug 2003 07:35:42 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030819073545.0132f3f8@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 07:35:45 -0500 To: Varshavchick Alexander , From: "Jack L. Stone" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-1.2 required=4.5 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO version=2.55-fbelle.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.55-fbelle.rules_v1 (1.174.2.19-2003-05-19-exp) 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:35:46 -0000 At 11:53 AM 8.19.2003 +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? > >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? > >Thanks > >---- >Alexander Varshavchick, Metrocom Joint Stock Company You can modify those "on fly" without a reboot with: sysctl kern.nmbclusters=nnnnn ("n" being the number of choice) You can then put the statements in the /boot/loader.conf and will load on next boot as alternative to changing the kernel. I modified the kernel here. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net