[squid-users] CACHE partition fills up
Amos Jeffries
squid3 at treenet.co.nz
Tue Sep 1 17:05:45 UTC 2015
On 2/09/2015 2:35 a.m., Jasper Van Der Westhuizen wrote:
> Good day everyone
>
> I have a problem with my Squid proxy cache. On two occasions over the last week the cache partitions have filled up to 100%. I have 4 load balanced nodes with 100GB cache partitions each. All of them have filled up.
>
> I tried to limit the size by using the following cache_dir directive.
>
> cache_dir ufs /var/cache/squid/ 61440 128 512
>
> I have had a very large increase in traffic over the last couple of months, but surely the configuration above should prevent the cache from filling up?
>
That depends on what the partition is filling up with.
If its cache objects not being erased, its probably bug 3553. High
traffic speed is the bug trigger. There is a fix in the latest 3.5
snapshot already if its urgent - and will be in the 3.5.8 I'm currently
preparing for release (ETA within 24 hrs).
For completeness; if swap.state or netdb journals are growing huge and
filling up the extra partition space. Then its probably just "squid -k
rotate" not being used often enough for the traffic volume. Regular, but
not too frequent, rotation is good for Squids overall health and clears
up file based outputs in all sorts of areas.
Amos
More information about the squid-users
mailing list