Re: Inodes problem on Solaris 2.6/2.2_Stable_2

From: David Luyer <luyer@dont-contact.us>
Date: Mon, 17 May 1999 19:23:27 +0800

> It appear that there is a problem with inode usage continually rising
> when using 2.2 stable 2 on Solaris 2.6. Eventually the system runs
> out if inodes and squid falls over and over and over....
>
> Reverting to 2.1p2 sees the inode usage start to fall again. Going
> back to 2.2 stable 2 sees it rise and so on...
>
> Is this a known problem and can I do anything about it?

I'd say it's a side effect of the use of truncate in place of unlink stuff,
and you could just make sure the relevant option is not enabled at compile
time and not have the problem.

in defines.h, change
#define USE_TRUNCATE_NOT_UNLINK 1
to
#define USE_TRUNCATE_NOT_UNLINK 0

re-build & re-install. You should stop running out of inodes.

David.
Received on Mon May 17 1999 - 05:32:14 MDT

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