<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.8.5">
</head>
<body>
<br>
<blockquote type="CITE">
<blockquote type="CITE">On 2/09/2015 2:35 a.m., Jasper Van Der Westhuizen wrote:<br>
> Good day everyone<br>
> <br>
> 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.<br>
> <br>
> I tried to limit the size by using the following cache_dir directive.<br>
> <br>
> cache_dir ufs /var/cache/squid/ 61440 128 512<br>
> <br>
> 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?<br>
> <br>
<br>
That depends on what the partition is filling up with.<br>
<br>
If its cache objects not being erased, its probably bug 3553. High<br>
traffic speed is the bug trigger. There is a fix in the latest 3.5<br>
snapshot already if its urgent - and will be in the 3.5.8 I'm currently<br>
preparing for release (ETA within 24 hrs).<br>
<br>
<br>
For completeness; if swap.state or netdb journals are growing huge and<br>
filling up the extra partition space. Then its probably just "squid -k<br>
rotate" not being used often enough for the traffic volume. Regular, but<br>
not too frequent, rotation is good for Squids overall health and clears<br>
up file based outputs in all sorts of areas.<br>
<br>
Amos<br>
<br>
</blockquote>
Thank you Amos. I will look out for the 3.5.8 release and manage the situation in the mean time.<br>
<br>
Regards<br>
Jasper<br>
<br>
</blockquote>
<br>
I upgraded to 3.5.8 on Friday 04/09 and so far it has been behaving well with the cache directories dropping to 59%. Thanks Amos.<br>
<br>
<br>
<br>
<mc type="body"><br>
<br>
<font face="Arial;" size="1">Disclaimer:<br>
<a href="http://www.shopriteholdings.co.za/Pages/ShopriteE-mailDisclaimer.aspx" target="_blank">http://www.shopriteholdings.co.za/Pages/ShopriteE-mailDisclaimer.aspx</a>
</font>
</body>
</html>