<div dir="ltr">Hi,<div><br></div><div>We have two problems while using Varnish:</div><div><br></div><div>1) we actually don't know how to determine if the amount of memory we assigned to the MALLOC is enough or not. varnishstat -1 show this:</div>
<div> </div><div><p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.c_req               58035        34.08 Allocator requests</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.c_fail                  0         0.00 Allocator failures</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.c_bytes        4830340101   2836371.17 Bytes allocated</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.c_freed        2864339421   1681937.42 Bytes freed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.g_alloc             44952          .   Allocations outstanding</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.g_bytes        1966000680          .   Bytes outstanding</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.s0.g_space         181482968          .   Bytes available</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.c_req        72960        42.84 Allocator requests</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.c_fail           0         0.00 Allocator failures</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.c_bytes   4366160011   2563805.06 Bytes allocated</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.c_freed   4365783718   2563584.10 Bytes freed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.g_alloc          350          .   Allocations outstanding</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.g_bytes       376293          .   Bytes outstanding</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">SMA.Transient.g_space            0          .   Bytes available</p><div><div dir="ltr"><div><div><p style="font-family:Arial,Verdana,sans-serif;font-size:12px"></p><p style="font-size:small">
</p><div><div>2) PROBE: we configured the probes as follows. What we noticed is, once the backend is mark as sick, even when the service is restored, Varnish continues to answering with a GURU MEDITATION. Is like VARNISH never checks back again the backend to see if it is healthy again. Is that a misconfiguration we have?</div>
<div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo"> .probe = {</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">      .url = "<a href="http://www.tycsports.com/balancer/alive1.html">http://www.tycsports.com/balancer/alive1.html</a>";</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">      .interval = 30s;   #chequear cada X seg</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">      .timeout = 10s;    #timeout de la prueba</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">      .window = 10;      #el probing funciona como sliding window</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">      .threshold = 8;   # cuantos del window tienen que estar ok para declararl$</p></div><div> <br></div><div>Any help will be much appreciated! tnx :)</div><div><br>
</div><div>Regards,</div><div><span style="font-size:12px"><address><span style="font-size:small;font-style:normal">Hernán.</span></address></span></div></div><p></p><p></p></div><div><span style="font-size:12px"></span></div>
</div><div><span style="font-size:12px"><address><span style="font-size:small;font-style:normal"><span style="font-family:Arial,Verdana,sans-serif;font-size:12px"></span></span></address></span></div></div></div>
</div></div>