On Wed, 10 Jan 2001 00:50:44 +0100, Tom=?ISO-8859-1?B?4XMgR2FyY+0=?=a Ferrari 
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am running a RedHat 6.2 server that is getting frozen everyday with a
> 'grow_underscores inodes_max limit reached' message. There are a lot of
> lines in /var/log/messages like these:
>>Dec 30 06:48:28 www inetd[1809]: accept (for imap): Too many open files
>>Dec 30 06:48:59 www last message repeated 1780 times
>
> I suppose that a script run by crond could cause this problem and I removed
> all the scripts from /etc/cron.daily. Nevertheless, the server got frozen.
>
> I created a script that runs hourly to get more info:
>   lsof | awk '{ print $1 }' | uniq -c | sort -n >> /home/XXX/trap.log
>   df -i >> /home/XXX/trap.log
>
> but when the server is frozen these commands doesn't have any output...
>
> I am completely lost now... could somebody give me a clue?


There's a limit to how many files you can have open.  It looks like you're reaching 
that limit.  You can find out what the limit is set to (on your system) by:

cat /proc/sys/fs/file-max

the default is 4096.

You can raise the limit by, for example:

echo 8192 > /proc/sys/fs/file-max

or so I have read (I've never actually had to do this myself).  You can read more 
about this in the kernel docs.

__
Larry Grover, PhD
Assoc Prof of Physiology
Marshall Univ Sch of Med




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to