[Varnish] #373: Varnish fails to reload backend/directory
Varnish
varnish-bugs at projects.linpro.no
Tue Nov 11 17:04:57 CET 2008
#373: Varnish fails to reload backend/directory
----------------------+-----------------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by anders):
Uhm. Sorry. But, for some reason, while changing the probe definition,
some requests are updated according to the VCL, but some are not. Checking
with ngrep, I see that every second probe against the same server uses a
probe is no longer in the loaded VCL:
{{{
T 192.168.41.132:61629 -> 192.168.41.137:80 [AP]
GET /varnish-lb-check.html HTTP/1.1.
Host: foo.bars.no.
Connection: close.
.
###
T 192.168.41.137:80 -> 192.168.41.132:61629 [AP]
HTTP/1.1 200 OK.
Connection: close.
Content-Type: text/html.
ETag: "6940323574995064302".
Accept-Ranges: bytes.
Last-Modified: Tue, 04 Nov 2008 19:58:26 GMT.
Content-Length: 47.
Date: Tue, 11 Nov 2008 15:59:34 GMT.
Server: lighttpd/1.4.13.
.
<html><body>
<p>Works fine.</p>
</body></html>
######
T 192.168.41.132:57516 -> 192.168.41.137:80 [AP]
GET /xvarnish-lb-check.html HTTP/1.1.
Host: baz.bars.no.
Connection: close.
.
###
T 192.168.41.137:80 -> 192.168.41.132:57516 [AP]
HTTP/1.1 404 Not Found.
Connection: close.
Content-Type: text/html.
Content-Length: 345.
Date: Tue, 11 Nov 2008 15:59:36 GMT.
Server: lighttpd/1.4.13.
.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
######
T 192.168.41.132:63120 -> 192.168.41.137:80 [AP]
GET /varnish-lb-check.html HTTP/1.1.
Host: foo.bars.no.
Connection: close.
.
###
T 192.168.41.137:80 -> 192.168.41.132:63120 [AP]
HTTP/1.1 200 OK.
Connection: close.
Content-Type: text/html.
ETag: "6940323574995064302".
Accept-Ranges: bytes.
Last-Modified: Tue, 04 Nov 2008 19:58:26 GMT.
Content-Length: 47.
Date: Tue, 11 Nov 2008 15:59:37 GMT.
Server: lighttpd/1.4.13.
.
<html><body>
<p>Works fine.</p>
</body></html>
##^Cexit
}}}
So we have a problem with updating the probes also, not only commenting
in/out a backend.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/373#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list