Re: [squid-users] Disk Space problem in a squid-proxy server

From: Chris Robertson <crobertson_at_gci.net>
Date: Fri, 17 Oct 2008 15:10:46 -0800

Angela Williams wrote:
> Have a look at your squid.conf file and look for this line
> cache_dir
>
> My one I have configured like this.
> cache_dir aufs /data/squid 5000 15 256
> To give 5G in /data/squid
>
> If you change it you will need to trash the current cache and create new with
> squid -z
>

This statement is only true if you change the number of directories,
and/or sub-directories (the 15 and 256 in the example given). Changing
the size of the cache (even shrinking it) only requires a "squid -k
reconfigure". If the used disk space is greater than the allocation,
objects will be purged until the size on disk is below the high water mark.

> Cheers
> Ang
>

Chris
Received on Fri Oct 17 2008 - 23:10:56 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 18 2008 - 12:00:03 MDT