Mailinglist Archive: opensuse-security (601 mails)

< Previous Next >
Re: [suse-security] inodes
  • From: Herman Knief <herman@xxxxxxxxx>
  • Date: Tue, 15 Aug 2000 23:56:19 -0700
  • Message-id: <399A3B13.4494630F@xxxxxxxxx>
Check this:

cat /proc/sys/fs/inode-nr

The first number is the max-inodes that the system can allocate, the
second is the number currently in use (if memory serves.)
They were nice enough to increase the max files value ot 8192 for you,
but the default max-inode is 16384... It is generally recommended that
max-inode be set to four times the value of max-file. I for one run a
fairly large mail server, and have max-file and max-inode set to 16384
and 65535 respectively.

You can change them by simply doing:

echo 16384 > /proc/sys/fs/max-file
echo 65535 > /proc/sys/fs/max-inode

- Herman


> Hello all,
>
> Im not really sure if this question fits in the forum...
> I got the following message from our mailserver:
>
> kernel: grow_inodes: inode-max limit reached
>
> I issued a df -i and got these results:
>
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/hda3 759552 35264 724288 5% /
> /dev/hda1 4016 18 3998 0% /boot
>
> Nothing else strange showed up in the logs. No (recorded)
> mail activity at that time either.
>
> Im running Qmail and courier IMAP (with and without SSL).
>
> Any suggestions ?
>
> Leif Larsson
>
> ________________
> L3 System
> www.l3system.net
> ----------------
> PGP key fingerprint = 11 81 96 E6 F0 91 ED 4D 13 82 44 99 99 DB AE 8B
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
> For additional commands, e-mail: suse-security-help@xxxxxxxx


< Previous Next >
Follow Ups