From owner-freebsd-questions@FreeBSD.ORG Tue May 16 17:28:28 2006 Return-Path: X-Original-To: questions@freebsd.org 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 BC0B316AB52 for ; Tue, 16 May 2006 17:28:28 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A99143D76 for ; Tue, 16 May 2006 17:28:28 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (AUTH: PLAIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 16 May 2006 13:28:27 -0400 id 0005642A.446A0BBB.00004EF4 Date: Tue, 16 May 2006 13:28:27 -0400 From: Bill Moran To: Giorgos Keramidas Message-Id: <20060516132827.0ed23256.wmoran@collaborativefusion.com> In-Reply-To: <20060516160645.GA8079@gothmog.pc> References: <20060516113537.3257b373.wmoran@collaborativefusion.com> <20060516160645.GA8079@gothmog.pc> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Is MAXFILES still valid in a kernel config option? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:28:30 -0000 On Tue, 16 May 2006 19:06:45 +0300 Giorgos Keramidas wrote: > On 2006-05-16 11:35, Bill Moran wrote: > > > > Using 6.1, is MAXFILES still honored in the kernel config? > > > > I know I can adjust this via sysctl, but setting it in the kernel config > > is more conducive to our deployment methodology. > > Yes. The option is still valid even in CURRENT. > > The `src/sys/kern/subr_param.c' file contains: > > 64 #ifndef MAXFILES > 65 #define MAXFILES (maxproc * 2) > 66 #endif > > and the option is still present in `src/sys/conf/NOTES'. Thanks. I thought it a little odd that NOTES groups it under this category: # Yet more undocumented options for linting. Seemed like something that was liable to silently break ... -- Bill Moran Collaborative Fusion Inc.