<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Tahoma">Hello Jean-Francois,<br>
<br>
we have seen similar behavior. You did not specify what platform
you use so I assume Linux. After some studying and experimentation
my recommendation is:<br>
a) always make sure varnish uses only memory, never disc, if you
expect good performance. So specify the cache size smaller than
the available memory you have (some memory should be reserved for
other processes and some varnish control structures, we use 14G
cache size on 16G box)<br>
b) use malloc storage type <br>
</font><br>
Hope this helps,<br>
Michal<br>
<br>
<br>
Dne 21.4.2011 10:51, Jean-Francois Laurens napsal(a):
<blockquote cite="mid:C9D5BCAB.49FD%25jean-francois.laurens@rts.ch"
type="cite">
<title>Varnish child killed</title>
<font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Hi there,<br>
<br>
We’re run varnish 2.1.5 for some week now and we still do
not understand some behavior regarding the shared memory
activity.<br>
We specified a
–sfile,/var/lib/varnish/varnish_storage.bin,50G in the
configuration but it’s impossible to go higher than 25G used
by varnish. Please see the following cacti graph:<br>
<br>
<br>
<br>
In addition I can see varnish doesn’t seem to be able to
handle more than 1 million objects:<br>
<br>
<br>
When the child process get killed, the load of the system
was very high:<br>
Apr 20 21:46:44 server-01-39 varnishd[21087]: Child (5372)
not responding to CLI, killing it.<br>
....<br>
Apr 20 21:49:57 server-01-39 nrpe[18101]: Command completed
with return code 2 and output: CRITICAL -<b> load average:
159.00, 159.32, 77.02</b>|load1=159.000;15.000;30.000;0;
load5=159.320;10.000;25.000;0; load15=77.020;5.000;20.000;0;<br>
....<br>
Apr 20 21:48:43 server-01-39 varnishd[21087]: Child (5372)
not responding to CLI, killing it.<br>
<br>
All this makes me believe we have an issue with some kernel
parameters that do not allow varnish to handle as many
objects as we configured it.<br>
<br>
Would anybody have an advice for this problem ?<br>
<br>
Jef<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<br>
</span></font></font><font size="4"><font face="Calibri,
Verdana, Helvetica, Arial"><span style="font-size: 10pt;"></span></font></font><br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michal Táborský
chief systems architect
Netretail Holding, B.V.
<a class="moz-txt-link-freetext" href="http://www.nrholding.com">http://www.nrholding.com</a>
</pre>
</body>
</html>