<font size="2"><font face="georgia,serif">It was likely killed because the child process didn't respond to the parent process within cli_timeout seconds.<br clear="all"></font></font><div><font face="georgia, serif"><br>

</font></div><div><font face="georgia, serif">Two suggestions:</font></div><div><font face="georgia, serif"> * increase vm.min_free_kbytes to 64M or 128M (I use the latter)</font></div><div><font face="georgia, serif"> * increase cli_timeout to 40-60 seconds</font></div>

<div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">Then record 'vmstat' and 'ps' output, so you can go back and see what was happening on the machine at the time the child is killed.  For example, did something start swapping 1G of RAM, and swap thrash caused the child to be slow to respond)?  Was there an ECC error?  Etc.</font></div>

<div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">My guess is that the two settings above will put you in a better place.  Also, good to make sure your lru isn't too high, but it looks like you're using the (fine) default.</font></div>

<div><font face="georgia, serif">-- </font><div><font face="georgia, serif">kb</font></div><br>
<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 15:59, Jean-Francois Laurens <span dir="ltr"><<a href="mailto:jean-francois.laurens@rts.ch">jean-francois.laurens@rts.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>
<font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Please do not overlook the object of the email which is actually “</span></font></font><font size="2"><font face="Lucida Grande"><span style="font-size:10px">Varnish child killed</span></font></font><font face="Lucida Grande"><font size="4"><span style="font-size:10pt">”.<br>


</span></font></font><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
For the explanation of the hitratio: some tests are running and half of the misses are requests with cachekillers on purpose.<br>
<br>
Would anybody please help on understanding why this child process get killed ?<br>
<br>
<br>
Le 21/04/11 19:41, « Simon Lyall » a écrit :<br>
<br>
</span></font></font><blockquote><font size="4"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">On Thu, 21 Apr 2011, Jean-Francois Laurens wrote:<br>
> 2. hitratio<br>
> My hit ratio is pretty low around 50%.<br>
> It used to be around 70% with the version 2.0.6 and dropped down to 50%.<br>
> I can’t explain it as what was changed was only :<br>
> In vcl_fetch, replace obj by beresp<br>
> Replace calls to pass or deliver by return(deliver) or return(pass)<br>
<br>
Is this for <a href="http://www.tsr.ch/" target="_blank">http://www.tsr.ch/</a> ?<br>
<br>
If your hit ratio is 60% with a million objects then something is very <br>
wrong. You have enough images there you should be well over 90% hits.<br>
<br>
Run "varnishlog -b"<br>
<br>
and see what your cache misses are ( or do look in your backend logs ).<br>
<br>
</span></font></font></blockquote><font size="4"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font color="#808080"><font face="Arial"><span style="font-size:9pt">Jean-Francois Laurens<br>
</span><font size="4"><span style="font-size:10pt">Ingénieur Système Unix<br>
Resources et Développement<br>
Secteur Backend<br>
</span></font><span style="font-size:9pt"><b>RTS - Radio Télévision Suisse<br>
</b>Quai Ernest-Ansermet 20                        <br>
Case postale 234                                    <br>
CH - 1211 Genève 8<br>
T <a href="tel:%2B41%20%280%2958%20236%2081%2063" value="+41582368163" target="_blank">+41 (0)58 236 81 63</a><br>
</span></font></font><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:10pt"><br>
</span></font></font>
</div>


<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>