Mailing List Archive

#1789: Disable probe, Varnish 4 continues to use it
#1789: Disable probe, Varnish 4 continues to use it
--------------------+----------------------
Reporter: anders | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 4.0.3 | Severity: major
Keywords: probe |
--------------------+----------------------
If you have a failing probe and you want to simply disable it, Varnish
continues to probe it using data from previous VCLs even though it is not
present in the current VCL. The state is also preserved, so Varnish will
respond with 503 due to "no backend connection" because of failing probes,
when none is present in the current config.

How to reproduce:
1) set up a backend and a probe, with a separate probe using an url path
that gives a failing response from the backend:

{{{
probe mbap_bilhold {
.url = "/bilhold/failing_page.html";
.interval = 5s;
.timeout = 10s;
.window = 5;
.threshold = 3;
}

backend no000010smbap0 {
.host = "10.111.9.10";
.port = "8080";
.probe = mbap_bilhold;
}
}}}

2) disable the probe to try to get the site back up again:

{{{
#probe mbap_bilhold {
# .url = "/bilhold/failing_page.html";
# .interval = 5s;
# .timeout = 10s;
# .window = 5;
# .threshold = 3;
#}

backend no000010smbap0 {
.host = "10.111.9.10";
.port = "8080";
# .probe = mbap_bilhold;
}
}}}

3) reload vcl

4) varnishadm backend.list shows backend no000010smbap0 still being probed
and
failing.

5) Site is still down, but should not! :-)

6) Workaround: restart Varnish, site is up :-)

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1789>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1789: Disable probe, Varnish 4 continues to use it [ In reply to ]
#1789: Disable probe, Varnish 4 continues to use it
----------------------+-------------------------
Reporter: anders | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 4.0.3
Severity: major | Resolution: worksforme
Keywords: probe |
----------------------+-------------------------
Changes (by lkarsten):

* status: new => closed
* resolution: => worksforme


Comment:

As discussed on IRC, this is most likely a case of old VCLs still running
the health probes.

Overriding this after the fact may be possible with backend.set_health
backendname healthy.

Closing.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1789#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs