[olug] My inodes ran out

Mike Peterson mpeterson at mail.charlesfurniture.com
Mon Dec 16 15:34:46 UTC 2002


Watch your Redhat 7.3 systems closely.

On 2 out of 3 Redhat 7.3 systems I work with the following problem has occurred.

I could not send mail or modem connect to the system.

The logs for in and out mail and modem logs are in /var/log/.

The inbound mail is stored in /var/spool/mail/ also.

I create a separate /var partition so the root does not get filled up on production systems.

On the 2 out of 3 systems mentioned above I found that the /var/log/mailman error log extension names keep getting longer and even though logrotate is supposed to run weekly, the number of empty error log files exceeded 10,000 after less than 6 months of the system running.

On 1 of the 3 systems mentioned above I found that the /var/log mgetty error log extension names keep getting longer and even though logrotate is supposed to run weekly, the number of empty error log files exceeded 10,000 after less than 6 months of the system running.

Between the modem and mailman log files they filled the inode allotment for the /var filesystem.

I had to use

find /var/log -name "*mgetty*" -exec rm {} \;
and
find /var/log/mailman -name "*error*" -exec rm {} \;

to remove the files because it was to many files for ls and rm to remove any other way.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olug.org/pipermail/olug/attachments/20021216/8daf0d32/attachment.html>


More information about the OLUG mailing list