From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 06:01:46 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 3672F16A4BF for ; Tue, 19 Aug 2003 06:01:46 -0700 (PDT) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 245A943F75 for ; Tue, 19 Aug 2003 06:01:45 -0700 (PDT) (envelope-from alex@metrocom.ru) Received: from apache (apache [195.5.128.150]) by apache.metrocom.ru (8.12.9/8.12.9) with ESMTP id h7JD1eAd010730; Tue, 19 Aug 2003 17:01:40 +0400 (MSD) Date: Tue, 19 Aug 2003 17:01:40 +0400 (MSD) From: Varshavchick Alexander To: Alex de Kruijff In-Reply-To: <20030819124642.GG13873@dds.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-1.9 required=2.5 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (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:01:46 -0000 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)