From owner-freebsd-questions Fri Jan 28 6:57:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 3EAE615790 for ; Fri, 28 Jan 2000 06:57:51 -0800 (PST) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.9.3/8.9.3) with SMTP id JAA32528 for ; Fri, 28 Jan 2000 09:58:23 -0500 (EST) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 28 Jan 2000 09:58:23 -0500 (EST) From: Doug Denault X-Sender: doug@fledge.watson.org Reply-To: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Re: how do i increase the maximum number of open files systemwide. In-Reply-To: <4.1.20000128093034.009508b0@mail.udel.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ya - thanks; the question was for max open files which seems to be 2 * maxproc, but thanks. I have a related question. I have a web server with about 250 domains using Netscape (yah - yah we going to Apache), where maxopenfiles MUST be bumped to 16,000+. My question: is there a way to bump this parameter without taking all the other kernel structures with it. I presume with Apache the number will not be so high but it probably will exceed a reasonable value scaled from maxusers. thanks for any thoughts/ideas On Fri, 28 Jan 2000, John wrote: > I just jumped on this thread, but I think this might help: > > In "the Complete freebsd v. 2", it states that the maximum number of > processes is set to > 20+ 16*Maxusers where "maxusers" is set in the kernel. > > Everyone I've talked to has always suggested to take your "real" number of > maxusers and bad it a good bit, to make sure you don't have to "suddenly" > take down the system and rebuild / reinstall the kernel with a new maxusers > value. The only thing I can recall being warned about was to make certain > that the max processes you end up running can actually be handled by your > hardware (I have NO idea how to make a TRUE evaluation of that though...) > > Good luck, > John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message