Re: Purging contents

2009-01-21 Thread Paras Fadte
Thanks Poul. On Thu, Jan 22, 2009 at 1:05 PM, Poul-Henning Kamp wrote: > In message <75cf5800901212121k6647747bg31877e8b1d512...@mail.gmail.com>, Paras > Fadte writes: > >>should it have "else" so that it becomes >> >>sub vcl_recv { >> >> if (req.request == "PURGE") { >>if (

Re: Purging contents

2009-01-21 Thread Poul-Henning Kamp
In message <75cf5800901212121k6647747bg31877e8b1d512...@mail.gmail.com>, Paras Fadte writes: >should it have "else" so that it becomes > >sub vcl_recv { > > if (req.request == "PURGE") { >if (!client.ip ~ purge) { >error 405 "Not allowed."; >

Re: Purging contents

2009-01-21 Thread Paras Fadte
Hi Poul, For applying HTTP purge the VCL code specified on http://varnish.projects.linpro.no/wiki/VCLExamplePurging shows as following: sub vcl_recv { if (req.request == "PURGE") { if (!client.ip ~ purge) { error 405 "Not allowed.";

Re: [varnish] Varnish, Plone and Apache2

2009-01-21 Thread Ricardo Newbery
On Jan 21, 2009, at 1:50 PM, Charlie Farinella wrote: > I have one site running Plone with lighttpd and Varnish that I set > up as > documented here: > http://bitubique.com/content/accelerate-plone-varnish IMHO, the vcl generated by the plone.recipe.varnish recipe is superior to the one on

Re: Breaking Varnish

2009-01-21 Thread Tim Kientzle
Dual-core AMD processor using the x86_64 kernel. Uname shows: Linux 2.6.21.5 #9 SMP Thu Aug 16 17:21:29 UTC 2007 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux On Jan 21, 2009, at 2:01 PM, Iliya Sharov wrote: > amd64 or i386 architecture? > > Tim Kientzle пишет: >> We're evaluati

Re: Breaking Varnish

2009-01-21 Thread Poul-Henning Kamp
In message <6545783f-b1a7-4fda-94d8-8439a2d13...@metaweb.com>, Tim Kientzle wri tes: >Under heavy load, we're seeing a lot of segfaults and >assertion failures. I've pasted an excerpt below of >two of the issues we've seen using Varnish 2.0.2 on Linux >2.6.21 kernel with the default VCL (using co

Re: Breaking Varnish

2009-01-21 Thread Iliya Sharov
amd64 or i386 architecture? Tim Kientzle пишет: > We're evaluating Varnish as a possible replacement for our > installed Squid servers. Performance-wise, Varnish is very > impressive, and we're pretty pleased with the configuration > flexibility. > > But... > > Under heavy load, we're seeing a lo

Breaking Varnish

2009-01-21 Thread Tim Kientzle
We're evaluating Varnish as a possible replacement for our installed Squid servers. Performance-wise, Varnish is very impressive, and we're pretty pleased with the configuration flexibility. But... Under heavy load, we're seeing a lot of segfaults and assertion failures. I've pasted an excerpt

Varnish, Plone and Apache2

2009-01-21 Thread Charlie Farinella
I have one site running Plone with lighttpd and Varnish that I set up as documented here: http://bitubique.com/content/accelerate-plone-varnish I have now been asked to set up others substituting Apache2 for lighttpd by the developers, but haven't been able to find such detailed instructions fo

Re: Am I reading the varnishlog correctly?

2009-01-21 Thread Poul-Henning Kamp
In message <3cc6f8100901210758u384af1d4k8091c903614f...@mail.gmail.com>, Nathan Lenz writes: >I wonder why my browser is sending an If-Modified-Since header when it >doesn't really have a copy? I've been running Varnish on a heavily used >testing server for the past week and I get this from time

Am I reading the varnishlog correctly?

2009-01-21 Thread Nathan Lenz
Hello, I have a weird case of Varnish returning a hit with a Length of 0. It happens when I clear my browser cache and then hit refresh. Varnish returns a 304 status and my browser shows a blank white page. Here is a snippet of the varnishlog output: 10 RxHeader c If-Modified-Since: Mon,

Re: Purging contents

2009-01-21 Thread Paras Fadte
Hi Poul, Can one specify host when purging using command line ? Thank you. -Paras On Wed, Jan 21, 2009 at 7:45 PM, Poul-Henning Kamp wrote: > In message <8318f61f0901210508i25fb1385w91573182d8cd...@mail.gmail.com>, Audun > Ytterdal writes: >>On Wed, Jan 21, 2009 at 12:38 PM, Poul-Henning Kamp

Re: Purging contents

2009-01-21 Thread Poul-Henning Kamp
In message <8318f61f0901210508i25fb1385w91573182d8cd...@mail.gmail.com>, Audun Ytterdal writes: >On Wed, Jan 21, 2009 at 12:38 PM, Poul-Henning Kamp >wrote: >> In message <75cf5800901210319j1a2741bdp171bdffad920b...@mail.gmail.com>, >> Paras Fadte writes: >Does that mean that vcl_miss in this

Re: Purging contents

2009-01-21 Thread Audun Ytterdal
On Wed, Jan 21, 2009 at 12:38 PM, Poul-Henning Kamp wrote: > In message <75cf5800901210319j1a2741bdp171bdffad920b...@mail.gmail.com>, Paras > Fadte writes: > >>Does it mean that 200 code doesn't have any relation to the object >>being or not being there in the cache ? Does it only mean then tha

Re: Purging contents

2009-01-21 Thread Poul-Henning Kamp
In message <75cf5800901210319j1a2741bdp171bdffad920b...@mail.gmail.com>, Paras Fadte writes: >Does it mean that 200 code doesn't have any relation to the object >being or not being there in the cache ? Does it only mean then that >the purge command was successfully executed ? It only means th

Re: Purging contents

2009-01-21 Thread Paras Fadte
Does it mean that 200 code doesn't have any relation to the object being or not being there in the cache ? Does it only mean then that the purge command was successfully executed ? Thanks . -Paras On Wed, Jan 21, 2009 at 4:37 PM, Poul-Henning Kamp wrote: > In message <75cf5800901210302m5fc06

Re: Purging contents

2009-01-21 Thread Poul-Henning Kamp
In message <75cf5800901210302m5fc06acbh2334b0d90df7a...@mail.gmail.com>, Paras Fadte writes: >Hi, > >When purging object from varnish cache from command line it always >tends to show 200 0 as the status code even if the object was not >there in cache ? What could be the reason ? 200 means the pur

Purging contents

2009-01-21 Thread Paras Fadte
Hi, When purging object from varnish cache from command line it always tends to show 200 0 as the status code even if the object was not there in cache ? What could be the reason ? Thank you. -Paras ___ varnish-misc mailing list varnish-misc@projects.l