Date: Fri, 28 Jan 2000 16:07:15 +0100 (CET) From: Konrad Heuer <kheuer@gwdu60.gwdg.de> To: Doug Denault <doug@safeport.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how do i increase the maximum number of open files systemwide. Message-ID: <Pine.BSF.4.05.10001281604500.14134-100000@gwdu60.gwdg.de> In-Reply-To: <Pine.BSF.3.96.1000128094205.32480A-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Jan 2000, Doug Denault wrote: > 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+. >=20 > 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 no= t > be so high but it probably will exceed a reasonable value scaled from > maxusers.=20 >=20 > thanks for any thoughts/ideas No need for kernel recompilation: /sbin/sysctl -w kern.maxfiles=3D16000 > > I just jumped on this thread, but I think this might help: > >=20 > > In "the Complete freebsd v. 2", it states that the maximum number of > > processes is set to=20 > > 20+ 16*Maxusers where "maxusers" is set in the kernel. > >=20 > > 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 "suddenl= y" > > take down the system and rebuild / reinstall the kernel with a new maxu= sers > > value. The only thing I can recall being warned about was to make cert= ain > > that the max processes you end up running can actually be handled by yo= ur > > hardware (I have NO idea how to make a TRUE evaluation of that though..= =2E) > >=20 > > Good luck, > > John Konrad Heuer Personal Bookmarks: Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=D6ttingen http://www.freebsd.org Am Fa=DFberg, D-37077 G=D6ttingen http://www.daemonnews.o= rg Deutschland (Germany) kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10001281604500.14134-100000>