Send old content if backend is down

Klapproth, Martin Klapproth.M at
Tue Nov 30 08:16:12 CET 2010

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:perbu at] 
Sent: Montag, 29. November 2010 15:10
To: Klapproth, Martin
Cc: varnish-misc at
Subject: Re: Send old content if backend is down


On Mon, Nov 29, 2010 at 3:01 PM, Klapproth, Martin
<Klapproth.M at> wrote:



	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


Yes. There is a way.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list