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 p...@phk.freebsd.dkwrote: In message b6b8b6b71002241137j71ae210r35487c328e8f6...@mail.gmail.com, John N orman writes: We notice that after VCL is

host header altered by Varnish?

2010-02-24 Thread John Norman
Sorry about all the questions . . . On my backend I want to redirect domain.com to www.domain.com I see Host: domain.com in both the RX and TX sections of the log . . . but the redirect isn't getting triggered. The backend is Apache, and the redirect directives are routine. RewriteCond

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

Re: Not seeing a successful purge

2010-02-12 Thread John Norman
Here's a bit more on my purge problem -- a comparison of a purge that works on my development machine, vs. one that doesn't work on my staging system. On both, the browser request goes to haproxy, then to varnish. The VCL is identical, as quoted in a prior e-mail. The backends are different: on

Re: Not seeing a successful purge

2010-02-12 Thread John Norman
hashed differently. If when I do a purge, I force Accept-Encoding: gzip,deflate, then it matches what the browser did exactly, and I am able to purge successfully. On Fri, Feb 12, 2010 at 11:54 AM, John Norman j...@7fff.com wrote: Here's a bit more on my purge problem -- a comparison of a purge

Not seeing a successful purge

2010-02-11 Thread John Norman
Hi, folks. I'm trying to purge with the pseudo HTTP PURGE method Varnish supports. I do seem to have a cached page, but the PURGE response suggests that it's missing. So . . . any idea why the PURGE isn't working? In my VCL, my vcl_hash looks like this (I intend it to only hash on the request

Bug fix 601 - Will be in the next release?

2010-01-27 Thread John Norman
Folks, Will the fix for http://varnish-cache.org/ticket/601 (cf. http://varnish-cache.org/ticket/540) be in the next release? My Varnish gets a x-forwarded-for from another server: What will the VCL be to use that instead of whatever Varnish tries to append? John

Re: Bug fix 601 - Will be in the next release?

2010-01-27 Thread John Norman
tried google varnish x-forwarded-for ? There an FAQ entry addressing that (somewhat). []'s On Wed, Jan 27, 2010 at 3:47 PM, John Norman j...@7fff.com wrote: Folks, Will the fix for http://varnish-cache.org/ticket/601 (cf. http://varnish-cache.org/ticket/540) be in the next release? My

Restoring cookies on a miss

2010-01-25 Thread John Norman
Folks, I've been trying to implement a technique posted here to restore cookies on a cache miss. The original question is here: http://projects.linpro.no/pipermail/varnish-misc/2010-January/003505.html and an interesting answer is here:

use new VCL -- drops cache?

2010-01-21 Thread John Norman
When you switch to a new VCL on the fly (vcl.use config), is the cache dumped? (I think the answer is no, but I just want to make sure.) (Munin shows a drastic sudden reduction in memory usage -- but I don't think Varnish restarted.) John ___

Health check -- just connect, or full response?

2010-01-19 Thread John Norman
Folks, For the health check (or, ahem, backend probe, as the docs has it -- ouch!), does health constitute ability to connect? Or does it check for a 200? Or get an entire page and verify that it's the right number of bytes . . . ? Or . . . ? In short, what constitutes a successful probe?

Re: Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

2010-01-17 Thread John Norman
Hey, folks, I just want to thank for this great thread -- I think it would be well worth breaking it up into Q/A for the FAQ. We're still a bit undecided as to how we're going to configure our systems, but we feel like we have options now. On Sun, Jan 17, 2010 at 4:10 PM, Ross Brown

Re: Strange different behavior

2010-01-15 Thread John Norman
...@mail.gmail.com, John Norman writes: Sorry to be so obtuse: So with the default setup, there will be a cached copy of a page for every single user agent? Yes, unless you do something about the Vary: User-Agent header returned from the backend. If so, does anyone have a good number of user agents that should

Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

2010-01-15 Thread John Norman
Folks, A couple more questions: (1) Are they any good strategies for splitting load across Varnish front-ends? Or is the common practice to have just one Varnish server? (2) How do people avoid single-point-of-failure for Varnish? Do people run Varnish on two servers, amassing similar local

Does a Varnish restart clear the existing cache?

2010-01-14 Thread John Norman
I think the answer is no, but . . . Does a Varnish restart clear the existing cache? (using the file storage.) ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: grace scenario - app side and varnish

2010-01-13 Thread John Norman
Thanks. An explicit statement of this in the docs would be helpful. On Wed, Jan 13, 2010 at 6:15 AM, Tollef Fog Heen tfh...@redpill-linpro.com wrote: ]] John Norman | I would like to set grace in Varnish so that this stays in the cache | for some long amount of time, and then when I hit

trunk in grace docs?

2010-01-12 Thread John Norman
At this page: http://varnish.projects.linpro.no/wiki/VCLExampleGrace What does the comment # or for trunk mean? And what is the difference between setting grace on obj and on beresp? (It would be helpful were both of these questions address in the doc.) John

Re: trunk in grace docs?

2010-01-12 Thread John Norman
Trunk of the the repo? On Tue, Jan 12, 2010 at 3:26 PM, John Norman j...@7fff.com wrote: At this page: http://varnish.projects.linpro.no/wiki/VCLExampleGrace What does the comment # or for trunk mean? And what is the difference between setting grace on obj and on beresp? (It would

Re: trunk in grace docs?

2010-01-12 Thread John Norman
...@projects.linpro.no [mailto:varnish-misc-boun...@projects.linpro.no] On Behalf Of John Norman Sent: Wednesday, 13 January 2010 9:27 a.m. To: varnish-misc@projects.linpro.no Subject: trunk in grace docs? At this page: http://varnish.projects.linpro.no/wiki/VCLExampleGrace What does the comment

Question from Dec. 2009: still using cache when fetching content

2010-01-08 Thread John Norman
Hi. I've just subscribed, and have been reading through the e-mail archives for varnish-misc. In Dec. 2009, Jean-Christophe Petit asked (with subject still using cache when fetching content): - Is it possible to make Varnish sending the cache content at the same time it is fetching from the

Re: Question from Dec. 2009: still using cache when fetching content

2010-01-08 Thread John Norman
I think Chris Davies has straightened me out, and that the scenario I describe *is* covered by grace -- that the first hit would also get stale (as well as others in the grace period), which is exactly what I want. On Fri, Jan 8, 2010 at 4:20 PM, John Norman j...@7fff.com wrote: Hi. I've just