Re: [squid-users] WARNING: Disk space over limit:

From: James Gray <james_gray@dont-contact.us>
Date: Fri, 8 Jul 2005 09:20:59 +1000

On Fri, 8 Jul 2005 12:41 am, Fabio Gomes Baptista wrote:
> Hi,
>
> I have a squid 2.5/STABLE 9 installed and I am getting the following
> messages in the cache.log:
>
> WARNING: Disk space over limit: 1536004 KB > 1536000 KB
>
> The cache_dir in squid.conf is configured like the line below:
>
> cache_dir ufs /usr/local/squid/var/spool 1500 128 512
>
> The filesystem where the cache dir is located have 519M free.
>
> What can be the cause of this problem ?

The "1500" in the cache_dir config refers to "1500 megabytes". Now
1500*1024=1536000 KB (notice the same number in the warning?) but your cache
has 4KB worth of extra objects, hence the warning telling you that 1536004 is
bigger than the configured cache size 1536000. It's only a warning, not an
error, squid will still run and will trim some objects from the cache to
bring it back to its configured size.

You can increase your cache_dir if you like to fill the 519MB remaining:
1500+519=2019.

So simply replace the 1500 with 2019 in the cache_dir configuration and the
cache will fill the remaining disk space. I have no idea how your system is
configured so it's up to you to make sure filling the volume the cache is on
wont adversely affect your machine.

Cheers,

James
Received on Thu Jul 07 2005 - 18:50:08 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT