Re: what does /proc/sys/kernel/inode-nr represent?

Bill Hawes (whawes@star.net)
Wed, 25 Mar 1998 10:54:42 -0500


Liem Bahneman wrote:
>
> It's a 40G RAID5 array (DPT hardware) composed of 10 4.5G disks.
>
> Large web server (810 virtual domains)...
>
> no msdos stuff going on, though I do have the support enabled...
>
> its now looking like this:
>
> % cat /proc/sys/kernel/inode-*
> 131072
> 93568 93186
>
> I noticed that rsync caused it to rise quite a bit (I do a nightly rsync
> of the files on the disk, 1.1million file), about 50k are actually
> updated/copied per night. But inode-nr never seems to decrease.

The inode-nr will never decrease because inode memory is never freed. But inodes
should be reused, and your system should stabilize to a value that's sufficient
for your operations. So if inode-nr keeps going up it would appear that
something is not freeing the inode counts as it should.

Regards,
Bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu