<HTML>
<HEAD>
<TITLE>Re: Varnish child killed</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks Ken,<BR>
I updated the </SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT FACE="Georgia, Times New Roman">vm.min_free_kbytes to 128M and increased the cli_timeout to 40.<BR>
<BR>
No there was no errors from any parts of the HW (ram,disk ...)<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
Jef<BR>
<BR>
Le 22/04/11 03:06, « Ken Brownfield » a écrit :<BR>
<BR>
</FONT></SPAN></FONT><BLOCKQUOTE><FONT SIZE="4"><SPAN STYLE='font-size:11pt'><FONT FACE="Georgia, Times New Roman">It was likely killed because the child process didn't respond to the parent process within cli_timeout seconds.<BR>
<BR>
Two suggestions:<BR>
* increase vm.min_free_kbytes to 64M or 128M (I use the latter)<BR>
* increase cli_timeout to 40-60 seconds<BR>
<BR>
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.<BR>
<BR>
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.<BR>
-- <BR>
kb<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<BR>
On Thu, Apr 21, 2011 at 15:59, Jean-Francois Laurens <jean-francois.laurens@rts.ch> wrote:<BR>
</FONT></SPAN></FONT><BLOCKQUOTE><FONT SIZE="4"><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial">Please do not overlook the object of the email which is actually “</FONT></SPAN></FONT><FONT SIZE="2"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:7.5pt'>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/">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>
<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 +41 (0)58 236 81 63 <tel:%2B41%20%280%2958%20236%2081%2063> <BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
_______________________________________________<BR>
varnish-misc mailing list<BR>
varnish-misc@varnish-cache.org<BR>
<a href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><BR>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
varnish-misc mailing list<BR>
varnish-misc@varnish-cache.org<BR>
<a href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><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 +41 (0)58 236 81 63<BR>
</SPAN></FONT></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>