Hi,<br><br>we restarted our Varnish instance on Sunday 7th around 19:00.<br><br>On Wednesday 10th 9:45 the child process restarted (causes unknown) -- loosing the existing cache.<br><br>... the cache slowly grew again ....<br>
<br>On Wednesday 17th around 2:00, the cache was somehow flushed, loosing about 75% of its objects.<br><br>... the cache slowly grew again ....<br>
<br>On Wednesday 24th at 2:00, the cache was flushed again, loosing about 85% of its objects.<br><br>On each of these occasions our cache hit rate went down from ~90% to under 50%. Needless to say this is highly undesirable.<br>
<br>What might be causing this behaviour? Any hints and directions helping research welcome.<br><br>Thanks.<br><br>More details:<br><br>Varnish version: 2.1.5 (Debian lenny package 2.1.5-1~lenny4)<br>O.S.: Linux s229-161 2.6.38 #1 SMP Sat Mar 26 09:51:44 CET 2011 x86_64 GNU/Linux<br>
<br>MRTG daily graphs for cache size and objects in cache:<br><br><img title="varnish_cache-day.png" alt="varnish_cache-day.png" src="cid:ii_131fc873072511a3"><br><br><img title="varnish_objects-day.png" alt="varnish_objects-day.png" src="cid:ii_131fc877bbfbf150"><br>
<br>Note how the two graphs are slightly different: size goes down between 2:00 and 15:30, object count goes down suddenly at 15:30.<br><br>Main VCL file attached (long to read -- feel free to ask questions).<br><br clear="all">
-- <br>Jordi Salvat i Alabart<br>CTO & Project Manager<br>Salir.com<br>+34 676 49 86 00<br>