Date: Thu, 13 Dec 2001 13:08:13 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: John Fox <foxden@harborside.com> Cc: <questions@FreeBSD.ORG> Subject: Re: kern.maxfiles question Message-ID: <20011213130244.V94416-100000@catalyst.sasknow.net> In-Reply-To: <OHEAJLADOMPCFHPMEGNIEEPIDNAA.foxden@harborside.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John Fox wrote to questions@FreeBSD.ORG: > Greetings, > > I started seeing the 'file: table is full' message on the nightly > output log, so I went to the site so see what I could find out > about it. It said I needed to up the number of descriptors > allowed in kern.maxfiles. I looked and I couldn't find this file > on my system. Is this a file that I have to add in? Hi John, kern.maxfiles is a sysctl variable. These are kernel variables that can be set by a userland program (sysctl(8)) to tune various aspects of your system. You'll want to read the sysctl(8) manpage (man sysctl), and (as root), you can increase kern.maxfiles by the following command sysctl kern.maxfiles=nnnn If this is a FreeBSD 3.x or earlier system, the syntax is a bit different: sysctl -w kern.maxfiles=nnnn Where nnnn is the maximum number of open file descriptors. Some of my somewhat busier systems run between 8K and 16K. You might also want to increase kern.maxfilesperproc as well. Hope this helps, - Ryan -- Ryan Thompson <ryan@sasknow.com> Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America 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?20011213130244.V94416-100000>