From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 05:06:47 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 9884A16A4BF for ; Tue, 2 Sep 2003 05:06:47 -0700 (PDT) Received: from mail.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EB443FB1 for ; Tue, 2 Sep 2003 05:06:46 -0700 (PDT) (envelope-from freebsd@soith.com) Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 27875166E6E; Tue, 2 Sep 2003 08:06:46 -0400 (EDT) Received: from 10.202.2.132 ([10.202.2.132] helo=www.fastmail.fm) by messagingengine.com with SMTP; Tue, 02 Sep 2003 08:06:46 -0400 Received: by www.fastmail.fm (Postfix, from userid 99) id 16D623A8E5; Tue, 2 Sep 2003 08:06:45 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Aaron Wohl" To: "Company 2210" , freebsd-questions@FreeBSD.ORG Date: Tue, 02 Sep 2003 06:06:45 -0600 X-Epoch: 1062504406 X-Sasl-enc: DQc/OVwoX+NifW02ueNtXw References: In-Reply-To: Message-Id: <20030902120645.16D623A8E5@www.fastmail.fm> Subject: Re: Problem Tuning Maxsockets 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, 02 Sep 2003 12:06:47 -0000 I changed maxusers to be: maxusers 256 That ended up with 8192 files. There is probably a more direct way to set that ) On Tue, 2 Sep 2003 12:48:33 +0100, "Company 2210" said: > I am trying to alter the number of maxsockets allocated from the default > of > 2022 to 8192 on a FreeBSD 4.8 box. However, when I try to perform this > operation via sysctl I'm informed the oid (kern.ipc.maxsockets) is read > only. Does this mean I need to recompile the kernel? I've tried 'options > MAXSOCKETS=8192' in a kernel recompile - but that was rejected by the > inital > parse, so either the option is different to the sysctl name or their is > another way to do this? Could someone shed some light? > > Thanks > > Colin > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"