<html><body bgcolor="#FFFFFF"><div><br></div><div><br>On 8 Jul 2011, at 20:16, Everton Blair <<a href="mailto:everton@connectedinternet.co.uk">everton@connectedinternet.co.uk</a>> wrote:<br><br></div><div></div><blockquote type="cite">
<div>sorry, I meant to say new posts ARE NOT forcing the homepage to purge/update, so I need a way to get the homepage to update whenever any purge request comes in.<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 8:05 PM, <span dir="ltr"><<a href="mailto:varnish-misc-request@varnish-cache.org"><a href="mailto:varnish-misc-request@varnish-cache.org">varnish-misc-request@varnish-cache.org</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send varnish-misc mailing list submissions to<br>
<a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank"><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:varnish-misc-request@varnish-cache.org"><a href="mailto:varnish-misc-request@varnish-cache.org">varnish-misc-request@varnish-cache.org</a></a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:varnish-misc-owner@varnish-cache.org"><a href="mailto:varnish-misc-owner@varnish-cache.org">varnish-misc-owner@varnish-cache.org</a></a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of varnish-misc digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Drupal 7.x & Varnish 3.x (Flatcircle)<br>
2. Varnish + Apache + SSL + Pound? (Scott Wilcox)<br>
3. Re:[Wordpress]homepage not purging (Everton Blair) (Everton Blair)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 8 Jul 2011 20:26:18 +0200<br>
From: Flatcircle <<a href="mailto:flatcircle@hotmail.com"><a href="mailto:flatcircle@hotmail.com">flatcircle@hotmail.com</a></a>><br>
To: Mattias Geniar <<a href="mailto:mattias@nucleus.be"><a href="mailto:mattias@nucleus.be">mattias@nucleus.be</a></a>><br>
Cc: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
Subject: Re: Drupal 7.x & Varnish 3.x<br>
Message-ID: <<a href="mailto:BLU0-SMTP1768BBF60304167604DF611C2400@phx.gbl">BLU0-SMTP1768BBF60304167604DF611C2400@phx.gbl</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/7af63846/attachment-0001.html" target="_blank"><a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/7af63846/attachment-0001.html">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/7af63846/attachment-0001.html</a></a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 8 Jul 2011 19:37:38 +0100<br>
From: Scott Wilcox <<a href="mailto:scott@dor.ky"><a href="mailto:scott@dor.ky">scott@dor.ky</a></a>><br>
To: <<a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a>><br>
Subject: Varnish + Apache + SSL + Pound?<br>
Message-ID: <<a href="mailto:2F426C39-48D0-4D7A-A14C-4BBCA9391837@dor.ky"><a href="mailto:2F426C39-48D0-4D7A-A14C-4BBCA9391837@dor.ky">2F426C39-48D0-4D7A-A14C-4BBCA9391837@dor.ky</a></a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello folks,<br>
<br>
I've seen this and similar questions asked often and with varying replies. I'd like to have my own scenario looked at. I'm currently in the process of redesigning my work flow for one of my projects. The main web server that serves content is Apache. I plan to have Varnish caching this traffic where applicable. I would like to add a layer of redundancy in regards to alerting users of problems too. I also need to support SSL too.<br>
<br>
I'm looking at having pound accept connections which is then passed to varnish. Varnish then handles the traffic as normal.<br>
<br>
I've seen in v3 that basic HTML can be output for errors, but I'd like to include a stylesheet and logo too. I can host these off the site if needed, but I've considered having 'pretty' error messages which include stylesheets and images. I'd obviously have to host these off site which isn't a problem.<br>
<br>
Is it better to use nginx to accept both HTTP and HTTPS connections and serve the errors/content or does my original plan sound better?<br>
<br>
What do you use in production and why?<br>
<br>
Do you recommend pound or nginx?<br>
<br>
Many thanks for replies in advance.<br>
<br>
--<br>
Scott Wilcox<br>
<br>
@dordotky | <a href="mailto:scott@dor.ky"><a href="mailto:scott@dor.ky">scott@dor.ky</a></a> | <a href="http://dor.ky" target="_blank"><a href="http://dor.ky">http://dor.ky</a></a><br>
+44 (0) 7538 842418 | +1 (646) 827-0580<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/ced5f362/attachment-0001.html" target="_blank"><a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/ced5f362/attachment-0001.html">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/ced5f362/attachment-0001.html</a></a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 8 Jul 2011 20:04:40 +0100<br>
From: Everton Blair <<a href="mailto:everton@connectedinternet.co.uk"><a href="mailto:everton@connectedinternet.co.uk">everton@connectedinternet.co.uk</a></a>><br>
To: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
Subject: Re:[Wordpress]homepage not purging (Everton Blair)<br>
Message-ID:<br>
<<a href="mailto:CAOAN0RQEraiGv9e8K3jTsAuM3YOdgAyBK8iahHZBcZY1sfFTdw@mail.gmail.com"><a href="mailto:CAOAN0RQEraiGv9e8K3jTsAuM3YOdgAyBK8iahHZBcZY1sfFTdw@mail.gmail.com">CAOAN0RQEraiGv9e8K3jTsAuM3YOdgAyBK8iahHZBcZY1sfFTdw@mail.gmail.com</a></a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Can anyone help me with my problem please? It's been causing me major<br>
problems. Basically I'm using Wordpress and new posts have been forcing the<br>
homepage to purge, I think because I'm using a special template within<br>
wordpress to create the homepage and I think Varnish doesn't realise it<br>
needs to purge that page<br>
<br>
What I want to do is force varnish to purge my homepage when any purge<br>
requests come in to make sure it stays fresh and to be safe, but I can't get<br>
this to work:<br>
<br>
sub vcl_recv {<br>
if (req.request == "PURGE") {<br>
if (!client.ip ~ purge) {<br>
error 405 "Not allowed.";<br>
}<br>
if (req.url == "^<a href="http://windows7news.com/$" target="_blank"><a href="http://windows7news.com/$">windows7news.com/$</a></a>") {<br>
purge(HOW DO I TELL VARNISH TO PURGE<br>
<a href="http://www.windows7news.com/magazine-homepage/" target="_blank"><a href="http://www.windows7news.com/magazine-homepage/">http://www.windows7news.com/magazine-homepage/</a></a> ????);<br>
}<br>
if (req.url == "^<a href="http://windows8news.com/$" target="_blank"><a href="http://windows8news.com/$">windows8news.com/$</a></a>") {<br>
purge(HOW DO I TELL VARNISH TO PURGE<br>
<a href="http://www.windows8news.com/magazine-homepage/" target="_blank"><a href="http://www.windows8news.com/magazine-homepage/">http://www.windows8news.com/magazine-homepage/</a></a> ???);<br>
}<br>
return(lookup);<br>
}<br>
}<br>
<br>
Thanks for any help.<br>
<br>
<br>
On Fri, Jul 8, 2011 at 11:46 AM, <<a href="mailto:varnish-misc-request@varnish-cache.org"><a href="mailto:varnish-misc-request@varnish-cache.org">varnish-misc-request@varnish-cache.org</a></a>>wrote:<br>
<br>
> Send varnish-misc mailing list submissions to<br>
> <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank"><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:varnish-misc-request@varnish-cache.org"><a href="mailto:varnish-misc-request@varnish-cache.org">varnish-misc-request@varnish-cache.org</a></a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:varnish-misc-owner@varnish-cache.org"><a href="mailto:varnish-misc-owner@varnish-cache.org">varnish-misc-owner@varnish-cache.org</a></a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of varnish-misc digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: Does Varnish uses ETag? (Geoff Simmons)<br>
> 2. Fwd: [Wordpress]homepage not purging (Everton Blair)<br>
> 3. Re: errno = Connection reset by peer (Tollef Fog Heen)<br>
> 4. Re: Varnishstat question (Tollef Fog Heen)<br>
> 5. Possible bug with very large headers in varnish-3.0.0<br>
> revision 3bd5997 (Lee Trout)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Fri, 08 Jul 2011 12:23:54 +0200<br>
> From: Geoff Simmons <<a href="mailto:geoff@uplex.de"><a href="mailto:geoff@uplex.de">geoff@uplex.de</a></a>><br>
> To: Kurt Kraut <<a href="mailto:listas@kurtkraut.net"><a href="mailto:listas@kurtkraut.net">listas@kurtkraut.net</a></a>><br>
> Cc: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
> Subject: Re: Does Varnish uses ETag?<br>
> Message-ID: <<a href="mailto:4E16DABA.2050606@uplex.de"><a href="mailto:4E16DABA.2050606@uplex.de">4E16DABA.2050606@uplex.de</a></a>><br>
> Content-Type: text/plain; charset=ISO-8859-1<br>
><br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA256<br>
><br>
> On 7/7/11 11:14 PM, Kurt Kraut wrote:<br>
> ><br>
> > Does Varnish used ETag to check cache freshness?<br>
><br>
> Mainline Varnish doesn't, but there's an experimental branch<br>
> 'experimental-ims' on the source repository in which it's implemented.<br>
><br>
> > - If yes, how does it behave?<br>
><br>
> <a href="http://www.varnish-cache.org/trac/wiki/BackendConditionalRequests" target="_blank"><a href="http://www.varnish-cache.org/trac/wiki/BackendConditionalRequests">http://www.varnish-cache.org/trac/wiki/BackendConditionalRequests</a></a><br>
><br>
> As per the RFC, freshness checks against ETags are done with conditional<br>
> requests to the backend using If-None-Match.<br>
><br>
> > - If not, is it possible to achive through VCL?<br>
><br>
> I don't think so, because standard VCL doesn't have a way to access an<br>
> object in the cache that has an expired TTL, but otherwise matches the<br>
> request, and hence could be refreshed.<br>
><br>
> So you don't ordinarily know an ETag in VCL that could be used for the<br>
> refresh, and even if you did, and got a 304 response from the backend,<br>
> there's no way to tell Varnish to deliver the stale object after all.<br>
><br>
> If you get a chance to try the IMS branch, please let us know how it goes.<br>
><br>
><br>
> Best,<br>
> Geoff<br>
> - --<br>
> UPLEX Systemoptimierung<br>
> Schwanenwik 24<br>
> 22087 Hamburg<br>
> <a href="http://uplex.de/" target="_blank"><a href="http://uplex.de/">http://uplex.de/</a></a><br>
> Mob: +49-176-63690917<br>
> -----BEGIN PGP SIGNATURE-----<br>
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)<br>
> Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank"><a href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a></a><br>
><br>
> iQIcBAEBCAAGBQJOFtq5AAoJEOUwvh9pJNURIy4QAKPiZ05kblNGfw7RFJo5Z9fg<br>
> 81feHHYKRy880yJrG9up8wNx02+9uku6gNlYkpkPcQqfP/fZu5PpUtjGK7pmCSWG<br>
> Jv0bBEL+j5V2L0SaQtoxyyvBkQ5bjQcmrZnuxpYRKRdZeNpjIWY1BLHjMkC3z+sS<br>
> 4KKPi1aiGTKYQH8O1FZHz+6dfP8OQseUCs7tLwYM2BYF2onh5H81ys/Adp6520lv<br>
> WV2cJWKJO85MqH5C0qmyzGV3ovTFPaU3J4/4idzPxW/vbUDozr5/XjloG7IYzCi6<br>
> Hj5YrfoJlqBREqdAdZ46G/cxS4dKmvMWIO8XaJIYMBISDaXQysXfLq9vLiqODD5l<br>
> /1/ijFfEWihwdoxJ/xi1ZgxhA8RYuxQQCMtStVch+QiHpp8ROw04GutXFmA67JeM<br>
> aWIBt9WL/cXc/YSP2geSobY89/ROulnKcqV9n5xvxGe1L2bkwq1jQJTtINF6l1oC<br>
> lBb9tZAA2JGEeJi8Fv9lcjcrMiLSPzoW16rbzpQNjxxu129Rq8ntteFkm5cqM4sD<br>
> 2do8CvRO3YauIY6bUGhRVSjNHCvYf6HvvoZEoKvgJy5drziKyU3qx3WEq3TF+QQU<br>
> q+Em6WhiYHQufj6OGnZCFJJ4SKDNUNzBkwzuoXay6jxvUtv3m1tGJyKMK0rYN7vv<br>
> 24e8axxNjKucDr5uFx1L<br>
> =PW5G<br>
> -----END PGP SIGNATURE-----<br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Fri, 8 Jul 2011 11:38:57 +0100<br>
> From: Everton Blair <<a href="mailto:everton@connectedinternet.co.uk"><a href="mailto:everton@connectedinternet.co.uk">everton@connectedinternet.co.uk</a></a>><br>
> To: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
> Subject: Fwd: [Wordpress]homepage not purging<br>
> Message-ID:<br>
> <CAOAN0RTbMwwiYOTiZZcHA+h7HXYkDut7NLE_+c_ef=<a href="mailto:CCDxm4Xw@mail.gmail.com"><a href="mailto:CCDxm4Xw@mail.gmail.com">CCDxm4Xw@mail.gmail.com</a></a><br>
> ><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi<br>
><br>
> I've just started using Varnish with Wordpress/W3TC, and all is ok, apart<br>
> from my homepage not purging when an update is made e.g. a new post. I<br>
> think this might be because my homepage is using a static page<br>
> <a href="http://www.windows7news.com/magazine-homepage/" target="_blank"><a href="http://www.windows7news.com/magazine-homepage/">www.windows7news.com/magazine-homepage/</a></a> as it's homepage and is doing some<br>
> magic within Wordpress to show this page when the page<br>
> <a href="http://www.windows7news.com/is" target="_blank"><a href="http://www.windows7news.com/is">www.windows7news.com/is</a></a> requested i.e. the server doesn't know that<br>
> <a href="http://www.windows7news.com/magazine-homepage/" target="_blank"><a href="http://www.windows7news.com/magazine-homepage/">www.windows7news.com/magazine-homepage/</a></a> needs purging.<br>
><br>
> I thought I'd temporariliy managed to fix this by adding:<br>
><br>
> sub vcl_recv {<br>
> if (req.url ~ "^/") {<br>
> return(pass);<br>
> }<br>
> }<br>
><br>
> But I only managed to turn the cache off completely. Is there anyway to<br>
> tell Varnish to always purge the homepage if there's a change?<br>
><br>
> Thanks in advance for any help.<br>
><br>
> My full VCL is below. If anyone has any Wordpress specific changes they'd<br>
> like to share then please send them my way!<br>
><br>
> Regards<br>
><br>
> EB<br>
><br>
><br>
> -----------------------------------------------------------------------------------------------------------------------------------<br>
><br>
> backend b96_30_20_4 {<br>
> .host = "96.30.20.4";<br>
> .port = "8080";<br>
> .probe = {<br>
> .url = "/";<br>
> .interval = 5s;<br>
> .timeout = 1 s;<br>
> .window = 5;<br>
> .threshold = 3;<br>
> }<br>
> // we include time outs so uploads don't time out<br>
> .connect_timeout = 600s;<br>
> .first_byte_timeout = 600s;<br>
> .between_bytes_timeout = 600s;<br>
> }<br>
><br>
> backend b96_30_20_5 {<br>
> .host = "96.30.20.5";<br>
> .port = "8080";<br>
> .probe = {<br>
> .url = "/";<br>
> .interval = 5s;<br>
> .timeout = 1 s;<br>
> .window = 5;<br>
> .threshold = 3;<br>
> }<br>
> // we include time outs so uploads don't time out<br>
> .connect_timeout = 600s;<br>
> .first_byte_timeout = 600s;<br>
> .between_bytes_timeout = 600s;<br>
> }<br>
><br>
> backend b96_30_20_6 {<br>
> .host = "96.30.20.6";<br>
> .port = "8080";<br>
> .probe = {<br>
> .url = "/";<br>
> .interval = 5s;<br>
> .timeout = 1 s;<br>
> .window = 5;<br>
> .threshold = 3;<br>
> }<br>
> // we include time outs so uploads don't time out<br>
> .connect_timeout = 600s;<br>
> .first_byte_timeout = 600s;<br>
> .between_bytes_timeout = 600s;<br>
> }<br>
><br>
> backend b96_30_20_7 {<br>
> .host = "96.30.20.7";<br>
> .port = "8080";<br>
> .probe = {<br>
> .url = "/";<br>
> .interval = 5s;<br>
> .timeout = 1 s;<br>
> .window = 5;<br>
> .threshold = 3;<br>
> }<br>
> // we include time outs so uploads don't time out<br>
> .connect_timeout = 600s;<br>
> .first_byte_timeout = 600s;<br>
> .between_bytes_timeout = 600s;<br>
> }<br>
><br>
> backend b96_30_18_15 {<br>
> .host = "96.30.18.15";<br>
> .port = "8080";<br>
> .probe = {<br>
> .url = "/";<br>
> .interval = 5s;<br>
> .timeout = 1 s;<br>
> .window = 5;<br>
> .threshold = 3;<br>
> }<br>
> // we include time outs so uploads don't time out<br>
> .connect_timeout = 600s;<br>
> .first_byte_timeout = 600s;<br>
> .between_bytes_timeout = 600s;<br>
> }<br>
><br>
> acl a96_30_20_4 {<br>
> "96.30.20.4";<br>
> }<br>
> acl a96_30_20_5 {<br>
> "96.30.20.5";<br>
> }<br>
> acl a96_30_20_6 {<br>
> "96.30.20.6";<br>
> }<br>
> acl a96_30_20_7 {<br>
> "96.30.20.7";<br>
> }<br>
> acl a96_30_18_15 {<br>
> "96.30.18.15";<br>
> }<br>
><br>
> acl purge {<br>
> "96.30.20.4";<br>
> "96.30.20.5";<br>
> "96.30.20.6";<br>
> "96.30.20.7";<br>
> "96.30.18.15";<br>
> }<br>
><br>
> sub vcl_recv {<br>
> if (server.ip ~ a96_30_20_4) {<br>
> set req.backend = b96_30_20_4;<br>
> }<br>
> if (server.ip ~ a96_30_20_5) {<br>
> set req.backend = b96_30_20_5;<br>
> }<br>
> if (server.ip ~ a96_30_20_6) {<br>
> set req.backend = b96_30_20_6;<br>
> }<br>
> if (server.ip ~ a96_30_20_7) {<br>
> set req.backend = b96_30_20_7;<br>
> }<br>
> if (server.ip ~ a96_30_18_15) {<br>
> set req.backend = b96_30_18_15;<br>
> }<br>
> }<br>
><br>
> sub vcl_recv {<br>
> if (req.request == "PURGE") {<br>
> if (!client.ip ~ purge) {<br>
> error 405 "Not allowed.";<br>
> }<br>
> return(lookup);<br>
> }<br>
> if (req.url ~ "^/") {<br>
> return(pass);<br>
> }<br>
> if (req.url ~ "^/forum/$") {<br>
> return(pass);<br>
> }<br>
> if (req.url ~ "^/$") {<br>
> unset req.http.cookie;<br>
> }<br>
> }<br>
> sub vcl_hit {<br>
> if (req.request == "PURGE") {<br>
> set obj.ttl = 0s;<br>
> error 200 "Purged.";<br>
> }<br>
> }<br>
> sub vcl_miss {<br>
> if (req.request == "PURGE") {<br>
> error 404 "Not in cache.";<br>
> }<br>
> if (!(req.url ~ "wp-(login|admin)")) {<br>
> unset req.http.cookie;<br>
> }<br>
> if (req.url ~<br>
><br>
> "^/[^?]+.(jpeg|jpg|png|gif|ico|js|css|txt|gz|zip|lzma|bz2|tgz|tbz|html|htm)(\?.|)$")<br>
> {<br>
> unset req.http.cookie;<br>
> set req.url = regsub(req.url, "\?.$", "");<br>
> }<br>
> if (req.url ~ "^/$") {<br>
> unset req.http.cookie;<br>
> }<br>
> }<br>
> sub vcl_fetch {<br>
> if (req.url ~ "^/$") {<br>
> unset beresp.http.set-cookie;<br>
> }<br>
> if (!(req.url ~ "wp-(login|admin)")) {<br>
> unset beresp.http.set-cookie;<br>
> }<br>
> }<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/bf4bd761/attachment-0001.html" target="_blank"><a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/bf4bd761/attachment-0001.html">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/bf4bd761/attachment-0001.html</a></a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Fri, 08 Jul 2011 12:41:30 +0200<br>
> From: Tollef Fog Heen <<a href="mailto:tfheen@varnish-software.com"><a href="mailto:tfheen@varnish-software.com">tfheen@varnish-software.com</a></a>><br>
> To: <a href="mailto:google@alexus.org"><a href="mailto:google@alexus.org">google@alexus.org</a></a><br>
> Cc: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
> Subject: Re: errno = Connection reset by peer<br>
> Message-ID: <<a href="mailto:8739iht5ph.fsf@qurzaw.varnish-software.com"><a href="mailto:8739iht5ph.fsf@qurzaw.varnish-software.com">8739iht5ph.fsf@qurzaw.varnish-software.com</a></a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> ]] alexus<br>
><br>
> | 70 Debug c "Write error, retval = -1, len = 10212, errno =<br>
> | Connection reset by peer"<br>
> |<br>
> | other then vcl_error(404, unknown virtual host) what that other message<br>
> | really mean?<br>
><br>
> That the client disconnected before we were done sending the object.<br>
><br>
> --<br>
> Tollef Fog Heen<br>
> Varnish Software<br>
> t: +47 21 98 92 64<br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 4<br>
> Date: Fri, 08 Jul 2011 12:44:45 +0200<br>
> From: Tollef Fog Heen <<a href="mailto:tfheen@varnish-software.com"><a href="mailto:tfheen@varnish-software.com">tfheen@varnish-software.com</a></a>><br>
> To: Jonathan Hursey <<a href="mailto:jonathan.hursey@adrevolution.com"><a href="mailto:jonathan.hursey@adrevolution.com">jonathan.hursey@adrevolution.com</a></a>><br>
> Cc: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
> Subject: Re: Varnishstat question<br>
> Message-ID: <<a href="mailto:87y609rqzm.fsf@qurzaw.varnish-software.com"><a href="mailto:87y609rqzm.fsf@qurzaw.varnish-software.com">87y609rqzm.fsf@qurzaw.varnish-software.com</a></a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> ]] Jonathan Hursey<br>
><br>
> Hi,<br>
><br>
> | Greetings fellow varnish enthusiasts. I was wondering if anyone could<br>
> help<br>
> | me determine what would be considered good values for the follow fields<br>
> in<br>
> | varnishstat output and what these fields indicate:<br>
> |<br>
> | 1 0.00 0.00 N vcl total<br>
> | 1 0.00 0.00 N vcl available<br>
><br>
> This just tells you that you have one VCL loaded.<br>
><br>
> | 7 . . N total active purges<br>
> | 7 0.00 0.00 N new purges added<br>
><br>
> You have 7 bans added<br>
><br>
> | 6112 0.00 0.02 N objects tested<br>
><br>
> And 6112 objects tested against those bans in total.<br>
><br>
> Regards,<br>
> --<br>
> Tollef Fog Heen<br>
> Varnish Software<br>
> t: +47 21 98 92 64<br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 5<br>
> Date: Thu, 30 Jun 2011 20:44:26 -0400<br>
> From: Lee Trout <<a href="mailto:lee@leetrout.com"><a href="mailto:lee@leetrout.com">lee@leetrout.com</a></a>><br>
> To: <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
> Subject: Possible bug with very large headers in varnish-3.0.0<br>
> revision 3bd5997<br>
> Message-ID: <BANLkTin7OC0zAFdedQQk3Mb42ozP=<a href="mailto:eVPwg@mail.gmail.com"><a href="mailto:eVPwg@mail.gmail.com">eVPwg@mail.gmail.com</a></a>><br>
> Content-Type: text/plain; charset=ISO-8859-1<br>
><br>
> Hello!<br>
><br>
> Please excuse the interruption, but I wanted to see if I may have<br>
> stumbled upon a bug or if there is a known issue or configuration<br>
> option for requests with very large header values.<br>
><br>
> Using varnish-3.0.0 revision 3bd5997 when a large request comes in<br>
> (cookie header ~3k characters) the header is lost. I am seeing<br>
> "LostHeader c Cookie:" in the logs.<br>
><br>
> This paste includes the request and results comparing varnish-3.0.0<br>
> revision 3bd5997 and varnish-2.1.4 SVN 5447M<br>
> <a href="http://pastebin.com/J2Qn0KGn" target="_blank"><a href="http://pastebin.com/J2Qn0KGn">http://pastebin.com/J2Qn0KGn</a></a><br>
><br>
> Thank you in advance for your time and suggestions.<br>
><br>
> Lee<br>
> --<br>
> Lee Trout<br>
> <a href="http://www.leetrout.com" target="_blank"><a href="http://www.leetrout.com">http://www.leetrout.com</a></a><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank"><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></a><br>
><br>
> End of varnish-misc Digest, Vol 64, Issue 13<br>
> ********************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/c40bf9ed/attachment.html" target="_blank"><a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/c40bf9ed/attachment.html">https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110708/c40bf9ed/attachment.html</a></a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org"><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank"><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></a><br>
<br>
End of varnish-misc Digest, Vol 64, Issue 15<br>
********************************************<br>
</blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>varnish-misc mailing list</span><br><span><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></span><br>
<span><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></span></div></blockquote><br><div>There is a separate tool called varnishadm that can regularly purge pages. Use that. Although you'll have to figure out how to trigger it on post. Alternatively can't you just cache the front page for only a minute or similar?</div>
<div><br></div><div>Stew</div></body></html>