Objects in grace while backend is down

Kristian Lyngstol kristian at redpill-linpro.com
Tue Mar 10 10:00:16 CET 2009

On Mon, Mar 09, 2009 at 09:53:05PM -0400, Javier Frias wrote:
> Grace just doesn't seem to work when the backend is down... within the ttl,
> the object gets returned when the backend is down, but as soon as the ttl is
> over it, it gives me a 503  Service unavailable, even though the grace is of
> 10hours.
> Is there a way to server objects out of grace when the backend is down?

This was implemented in r3886 [1] and is available in trunk only at the moment. 

Also see #369 [2] regarding 'forced' grace/saint mode/attempted grace.

[1] http://varnish.projects.linpro.no/changeset/3886
[2] http://varnish.projects.linpro.no/ticket/369

Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20090310/ac509ecb/attachment-0004.pgp>

More information about the varnish-dev mailing list