Thank you. This option helped a lot. But varnish delivers still 503
errors when the backend is completely down (no route to host, connection
refused). Is there a way to handle such situations too?

 

________________________________

From: Per Buer [mailto:[email protected]] 
Sent: Montag, 29. November 2010 15:10
To: Klapproth, Martin
Cc: [email protected]
Subject: Re: Send old content if backend is down

 

On Mon, Nov 29, 2010 at 3:01 PM, Klapproth, Martin
<[email protected]> wrote:

        Hello,

         

        I have a general question relating to varnish's vcl
configuration. I want the varnish server to send old cached objects if
the backend is down (marked unhealthy). I have tested various grace
configurations but nothing worked, because grace takes only effect if
the backend is slow, but not if it's down. So is there a way (maybe in
vcl_error)?

 

Yes. There is a way.

 

http://www.varnish-cache.org/docs/trunk/tutorial/handling_misbehaving_se
rvers.html#saint-mode


-- 
Per Buer,  Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / skype: per.buer

_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to