From owner-freebsd-questions@FreeBSD.ORG Tue May 16 18:30:44 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 939BC16B0B4 for ; Tue, 16 May 2006 18:30:44 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3584F43D72 for ; Tue, 16 May 2006 18:30:39 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4GIUQDu023090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 May 2006 21:30:27 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4GIWc2B009249; Tue, 16 May 2006 21:32:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4GIWcfA009248; Tue, 16 May 2006 21:32:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 16 May 2006 21:32:38 +0300 From: Giorgos Keramidas To: Bill Moran Message-ID: <20060516183238.GB9209@gothmog.pc> References: <20060516113537.3257b373.wmoran@collaborativefusion.com> <20060516160645.GA8079@gothmog.pc> <20060516132827.0ed23256.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060516132827.0ed23256.wmoran@collaborativefusion.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.401, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.80, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No 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 18:30:50 -0000 On 2006-05-16 13:28, Bill Moran wrote: >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 ... I'm not sure what the real plans are around there, but (AFAIK) at least for the RELENG_6 branch, now that the option is part of RELENG_6 it should remain there for the entire lifetime of the branch :)