Date: Fri, 13 Aug 1999 02:46:32 GMT From: mike@sentex.net (Mike Tancsa) To: questions@freebsd.org Subject: Re: File Table Full Message-ID: <37b386b5.745415260@mail.sentex.net> In-Reply-To: <MAIL19990812153515.A72708@dan.emsphone.com> References: <37B31D59.3A39D3D2@cctinc.net> <MAIL19990812153515.A72708@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Aug 1999 16:37:20 -0400, in sentex.lists.freebsd.questions you wrote: >In the last episode (Aug 12), Mike Alich said: >> Can anyone tell me how to increase the number of allowed files open in >> the system? >> >> About every week or so I get an error "file: table is full" and it go >> one for a few seconds to a few mins. How can I track down what is >> causing this? I think it might be a run away cgi or something. > >"sysctl kern.maxfiles" will print the size of the file table. You can >raise this at runtime by running "sysctl -w kern.maxfiles=10000" or >whatever you want. You will probably want to recompile your kernel >with a higher "maxusers" value, though (try using double the current >value). "maxusers" affects some other variables that need to be raised >for machines used as server. I second the above, except one caveat is avoid going higher than 128 for the maxusers. ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Who is this 'BSD', and why should we free him?" 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?37b386b5.745415260>