Re: health check path doesn't change after VCL reload (2.0.6)

2010-02-24 Thread John Norman
No, only the former / old path.

I'm not super-troubled right now because a Varnish restart did pick up the
new path (but at the cost of my cache) -- but I'm a bit worried about the
next time I have to change it.

I will be changing the probe interval soon, so that will give me a chance to
reproduce the problem, if it even exists.

As a bit of background:

I automate the VCL update to multiple servers, when/if the VCL file has
changed.

Before the update, I also remove all of the inactive/old VCL's that are
sitting there.

Then I add the new one and "use" it.

When I observed in my backend logs the probes going to the old URLs, I did
check the "active" VCL on all systems, and they all showed the new path.

In any case, I will try to reproduce and will send the results.

One last thing: During the restart on one system, I observed the issue
reported here:
http://zarathustrashallspeak.com/2009/11/28/varnish-startup-issue/

John

On Wed, Feb 24, 2010 at 4:18 PM, Poul-Henning Kamp wrote:

> In message ,
> John N
> orman writes:
>
> >Still, the VCL indicated as "active" had a different path for the health
> >check.
>
> Hopefully both got probed ?
>
> --
> Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
> p...@freebsd.org | TCP/IP since RFC 956
> FreeBSD committer   | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: health check path doesn't change after VCL reload (2.0.6)

2010-02-24 Thread Poul-Henning Kamp
In message , John N
orman writes:

>Still, the VCL indicated as "active" had a different path for the health
>check.

Hopefully both got probed ?

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: health check path doesn't change after VCL reload (2.0.6)

2010-02-24 Thread John Norman
That's great.

Still, the VCL indicated as "active" had a different path for the health
check.

On Wed, Feb 24, 2010 at 3:24 PM, Poul-Henning Kamp wrote:

> In message ,
> John N
> orman writes:
>
> >We notice that after VCL is reloaded, our old health check path is still
> >getting checked.
> >
> >The only thing that seems to fix it is a varnish restart.
>
> No, unloading the old VCL code should also do it.
>
> We keep polling the backends of all loaded VCL, so they are all
> ready to roll the moment you do "vcl.use mumble".
>
>
> --
> Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
> p...@freebsd.org | TCP/IP since RFC 956
> FreeBSD committer   | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


RE: health check path doesn't change after VCL reload (2.0.6)

2010-02-24 Thread Jim Hayter
I remember seeing a post recently that mentioned that the old health
checks are still performed as long as the old VCL is loaded.  This is
done to allow a quick switch back to the previous VCL.  This seems
likely from behavior I have seen.

Jim

-Original Message-
From: varnish-misc-boun...@projects.linpro.no
[mailto:varnish-misc-boun...@projects.linpro.no] On Behalf Of John
Norman
Sent: Wednesday, February 24, 2010 2:37 PM
Cc: varnish-misc@projects.linpro.no
Subject: health check path doesn't change after VCL reload (2.0.6)

Hi.

We notice that after VCL is reloaded, our old health check path is still
getting checked.

The only thing that seems to fix it is a varnish restart.

Seems like I should log this as a bug . . . ?

John


___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: health check path doesn't change after VCL reload (2.0.6)

2010-02-24 Thread Poul-Henning Kamp
In message , John N
orman writes:

>We notice that after VCL is reloaded, our old health check path is still
>getting checked.
>
>The only thing that seems to fix it is a varnish restart.

No, unloading the old VCL code should also do it.

We keep polling the backends of all loaded VCL, so they are all
ready to roll the moment you do "vcl.use mumble".


-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc