Date: Fri, 28 Jan 2000 07:05:28 -0800 (PST) From: wellsian <wellsian@caffeine.com> 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.21.0001280700210.88633-100000@boris.netgate.net> 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
Have you explored sysctl? % sysctl kern.maxfiles kern.maxfiles: 2088 I believe this would do what you want (from single-user): % sysctl -w kern.maxfiles 16000 The manpage provides more detail and pointers to relevant kernel sources. -Dave 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+. > > 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 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.21.0001280700210.88633-100000>