Re: [squid-users] Cache Size Limitation

From: Denis Vlasenko <vda@dont-contact.us>
Date: Fri, 26 Mar 2004 15:42:03 +0200

On Friday 26 March 2004 15:04, trainier@kalsec.com wrote:
> Is there a way to have squid automatically flush the cache when it reaches
> it limit?
>
>
> I suppose I could, alternatively, write a shell script that runs every
> hour and analyses the size of the cache directory, then entities the
> swap.state file(s) and clears the directories when it gets close to the
> cache limit.
> I'd just rather use squid if it has the ability to do so.

Actually, the other way around.

At a certain point, it becomes easier to use modular tools
instead of trying to make one tool do everything imaginable.

If your cache dir lives in a dedicated partition, simple df
will tell you how large is your cache now.

BTW, why do you need it?

-- 
vda
Received on Fri Mar 26 2004 - 06:42:59 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST