Hey Josh! Long while indeed!<br>
<br>
Thanks for your help.<br><br>We're using FILE (20GB) , ulimt -n is 1024 (is that what you're referring to?) -- right now the process only has 122 files open, so that doesn't seem to be the issue... but I'll watch out for next Wednesday.<br>

<br>I'll also look at SESS_WORKSPACE.<br><br clear="all">-- <br>Jordi Salvat i Alabart<br>CTO & Project Manager<br>Salir.com<br>+34 676 49 86 00<br>
<br><br><div class="gmail_quote">2011/8/25 Joshua Levine <span dir="ltr"><<a href="mailto:jlevine@iwin.com">jlevine@iwin.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
<br>
I sent that reply explicit to crashes, crashes that actually appear addressed in your version, so I should also have asked, based on your references to a somewhat regular schedule, if you are using MALLOC or FILE, and also what you are allowing for NFILES… perhaps you are exceeding those resource allocations?<br>


<div class="im"><br>
Cheers,<br>
Joshua<br>
<br>
On Aug 24, 2011, at 9:09 AM, Jordi Salvat wrote:<br>
<br>
</div><div class="im">> 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>
</div>> <varnish_cache-day.png><br>
<div class="im">><br>
> <varnish_objects-day.png><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>
> --<br>
> Jordi Salvat i Alabart<br>
> CTO & Project Manager<br>
> Salir.com<br>
> <a href="tel:%2B34%20676%2049%2086%2000" value="+34676498600">+34 676 49 86 00</a><br>
</div><div><div></div><div class="h5">> <salir.vcl>_______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
<br>
</div></div></blockquote></div><br>