Subject: Re: file: table is full - increase kern.maxfiles or MAXFILES - but
To: Quentin Garnier <cube@cubidou.net>
From: Carl Brewer <carl@bl.echidna.id.au>
List: netbsd-users
Date: 07/17/2007 22:21:05
Quentin Garnier wrote:
> On Tue, Jul 17, 2007 at 08:32:41AM +1000, Carl Brewer wrote:
>> Saw this on a server recently :
>>
>> file: table is full - increase kern.maxfiles or MAXFILES
>>
>>
>> Does that have to be done in the kernel and recompile it,
>> or can it be done in sysctl.conf or somewhere else
>> a little less crude?
> 
> kern.maxfiles is a sysctl node.

Is it possible to find out how many are in use? I've
just bumped mine up to 3000, but am not sure why or how to
monitor if this is enough, save for tailing /var/log/messages
and looking for the error message above.