Re: reconfigure when reducing cache size ?

From: Charles Bruneteau <charles.bruneteau.sysicom@dont-contact.us>
Date: Thu, 05 Aug 1999 08:26:22 +0200

Henrik Nordstrom wrote:
>
> Charles Bruneteau wrote:
> >
> > Hi,
> >
> > I have an urgent problem of inodes ("No space left on device") on a
> > cache filesystem.
>
> Are you running Squid-2.2? Then you may want to disable
> USE_TRUNCATE_NOT_UNLINK (found in i src/defines.h). Having this enabled
> effectively doubles Squids inode usage.
>
> edit src/defines.h to not define USE_TRUNCATE_NOT_UNLINK
> make clean ; make install
> find /squid/cache/?? -size 0 -type f -print | xargs rm
> restart Squid at a suitable time.
>
> --
> Henrik Nordstrom
> Spare time Squid hacker

yes it's a Squid-2.2STABLE4. Will such a modification (flag
USE_TRUNCATE_NOT_UNLINK) have a influence on performance ?

Actually there are lots off empty files in the cache directory.

regards

Charles Bruneteau
Received on Thu Aug 05 1999 - 00:17:44 MDT

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