Re: reconfigure when reducing cache size ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 04 Aug 1999 22:26:28 +0200

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
Received on Wed Aug 04 1999 - 14:49:30 MDT

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