On Friday 26 March 2004 15:04, [EMAIL PROTECTED] 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

Reply via email to