Re: INODE problems

From: Kendall Lister <kendall@dont-contact.us>
Date: Sat, 8 Jan 2000 11:06:12 +1100 (EST)

On Sat, 8 Jan 2000, Faisal Naseer wrote:

> I've been having this problem for quite some time now, my cache drive
> is 68% but the inodes keep increasing and crash my squid pretty often,
> Failed to open swaplog..... i keep reducing my cache in order to give
> more space to inodes, but this isnt right ....how should i go about
> it?

Inodes place a hard limit on the number of files that a partition can
handle. The simple (only?) way to change this attribute for a particular
partition is to format it using something like 'mke2fs -i xxx' where xxx
is the inode density, or the number of bytes between inodes. Since you
expect your average cache object size to be 13 Kb, give yourself
partition_size / 13 Kb inodes (and double or treble it so that you never
have to worry about it again).

In case you're wondering, the inode density is of course the
partition_size (in bytes) / num_inodes.

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Fri Jan 07 2000 - 17:11:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:17 MST