[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] cache running out of file descriptors (SOLVED)



On Fri, 4 Apr 2003, Mike Rambo wrote:

>Eric Harrison wrote:
>> 
>> On Tue, 1 Apr 2003, Mike Rambo wrote:
>> 
>> >Yesterday I noticed "WARNING! Your cache is running out of file
>> >descriptors" in cache.log.
>> 
>> I assume that means system file handles.
>> 
>> To adjust the maximum number of file handles, add the following line to
>> /etc/sysctl.conf
>> 
>>         fs.file-max = 65536
>> 
>> and run "sysctrl -p"
>> 
>
>I assume this was 'sysctl -p'. I couldn't find a sysctrl on my system.

typo...

>I tried this and somehow killed the server in the process.
<snip>

This should be perfectly safe thing to do on a running server... but now
that I think it through it is not quite perfectly safe. If you DECREASE
the number of file handles you could cause problems.

Perhaps your # of file handles had already been bumped up... it would have
been much better advise if I would have had you check that first.

	cat /proc/sys/fs/file-max


-Eric





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]