Mailinglist Archive: opensuse-security (601 mails)

< Previous Next >
Re: [suse-security] inodes
  • From: Herman Knief <herman@xxxxxxxxx>
  • Date: Tue, 15 Aug 2000 23:59:08 -0700
  • Message-id: <399A3BBC.4D5D0CA7@xxxxxxxxx>
Oops... just double checked... it's actually file-max and inode-max... I
had the terms backwards with respect to the hyphen. Replace what I put
below.

- Herman

Herman Knief wrote:

> 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
>


< Previous Next >