Re: [SQU] Disk space over limit

From: Zeev Meloch <zeev@dont-contact.us>
Date: Tue, 14 Nov 2000 17:24:12 +0200

----- Original Message -----
From: "Ethy H. Brito" <ethy@inexo.com.br>
To: "Squid" <squid-users@ircache.net>
Sent: ??? ????? 14 ?????? 2000 16:14
Subject: [SQU] Disk space over limit

>
> Dear squiders
>
> I am using 2.3.STABLE4 on a Linux 2.2.16 and still have this problem.
>
> relevant settings:
>
> cache_dir ufs /cache 800 16 256
>
> replacement_policy LFUDA
>
> #cache_swap_low 90 #commnted out. Using default
> #cache_swap_high 95 #commnted out. Using default
>
>
> servidor:~# df
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda8 1011928 946380 14144 99% /cache
>
> As soon as I get 100% reached I will have to fsck this partition because
> Squid will not delete any files (How do I make squid erase them?).
>
> Any patches?

This is a known problem. It was in this mailing list on 30/10/2000 already
and we're fighting with it for a long time already.
Seems that some people either deny or don't have this problem.
We've this problem on Solaris 2.6 (squid-2.3-STABLE4)
You can use this attached script. It's a hack but works for us (you'll have
to tweak it).
And, as far as I remember squid-2.2-STABLE5 didn't have this problem.
The problem is not that squid doesn't delete files, but, because squid
mistakenly thinks that it uses X space while it uses Y.
Also check squid-mailing list around 25/09/2000 for the discussion (Subject:
bug). Unfortunately no one has come with a solution yet.

--Zeev

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 14 2000 - 08:30:08 MST

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