<div dir="ltr"><div class="gmail_extra">Hi Dridi!</div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-12 10:42 GMT+01:00 Dridi Boukelmoune <span dir="ltr"><<a href="mailto:dridi@varni.sh" target="_blank">dridi@varni.sh</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Håvard, Luca,<br>
<span class=""><br>
On Fri, Jan 12, 2018 at 10:13 AM, Håvard Alsaker Futsæter<br>
<<a href="mailto:havardf@met.no">havardf@met.no</a>> wrote:<br>
> Hi! I have a problem with backend probes not beeing sent, that seems very<br>
> similar to what Luca Gervasi has reported(see below).<br>
> Luca: Did you ever figure out a fix?<br>
<br>
</span>Guillaume brought this to my attention, but I haven't looked at it<br>
yet. What's surprising is that I don't recall changes in this area<br>
until _after_ the 5.2 release (so no changes for the whole 5.x<br>
series).<br>
<div><div class="h5"><br>
> I run varnish version 5.1.3-1~xenial on ubuntu/xenial with kernel<br>
> 4.4.0-109-generic.<br>
><br>
> The behaviour I see is that I start up varnish, varnish sends one backend<br>
> probe for each backend, bringing them up to Healthy status. After that, it<br>
> seems like there are no more backend probes sent.<br>
><br>
> The backend replies correctly when I use curl, and anyway there is not<br>
> indication that a probe fails. They are simply not sent in the first place,<br>
> as far as I can tell.<br>
><br>
> Here is an example of my backend configuration:<br>
>     .host = "foo1";<br>
>     .port = "8080";<br>
>     .connect_timeout = 0.4s;<br>
>     .first_byte_timeout = 12s;<br>
>     .between_bytes_timeout = 1s;<br>
>     .max_connections = 40;<br>
>     .probe = {<br>
>         .url        = "/healthcheck";<br>
>         .timeout    = 1s;<br>
>         .interval   = 6s;<br>
>         .window     = 5;<br>
>         .threshold  = 3;<br>
>      }<br>
> }<br>
><br>
> My backend.list looks like this:<br>
> boot.foo1          probe      Healthy             4/5 Fri, 12 Jan 2018<br>
> 08:50:38 GMT<br>
> boot.foo2          probe      Healthy             4/5 Fri, 12 Jan 2018<br>
> 08:50:38 GMT<br>
><br>
> and here is an extract from backend.list -p:<br>
> boot.foo1           probe      Healthy             4/5<br>
>   Current states  good:  4 threshold:  3 window:  5<br>
>   Average response time of good probes: 0.002105<br>
>   Oldest ==============================<wbr>==================== Newest<br>
>   ------------------------------<wbr>------------------------------<wbr>--44 Good IPv4<br>
>   ------------------------------<wbr>------------------------------<wbr>--XX Good Xmit<br>
>   ------------------------------<wbr>------------------------------<wbr>--RR Good Recv<br>
>   ------------------------------<wbr>------------------------------<wbr>HHHH Happy<br>
><br>
><br>
> And running "varnishlog -g raw -i Backend_health" gives me no results back.<br>
><br>
> I also tested the exact same config on 5.2,1~xenial, but I get the same<br>
> problem there.<br>
><br>
> I don't really understand what is going on here, or how I should proceed.<br>
> Any help would be greatly appreciated!<br>
<br>
</div></div>The workaround is to override the probe's status with the<br>
`backend.set_health` command if you can't rely on probes (or in<br>
general if you wish to rely on external monitoring to change the<br>
status of a backend).<br>
<br>
If any of you two has a github account, please open an issue.<br>
Otherwise let me know and I will open one myself.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Thanks for the response! I have opened an issue about this now.</div><div><br></div><div>Best regards,</div><div>Håvard</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Dridi<br>
</font></span></blockquote></div><br></div></div>