Intermittent 503's from Varnish

Steve Webster steve.webster at
Mon Nov 7 15:51:31 CET 2011

On 7 Nov 2011, at 13:31, AD wrote:

> Hmm Steve, not sure, here is the snippet from that wiki link.
> Saint mode enables you to discard a certain page from one backend server and either try another server or serve stale content from cache
> When we set beresp.saintmode to 10 seconds Varnish will not ask that server for URL for 10 seconds. A blacklist, more or less. Also a restart is performed so if you have other backends capable of serving that content Varnish will try those. When you are out of backends Varnish will serve the content from its stale cache.

If you set saintmode without also setting grace on both the cache object and the request, Varnish will simply end up returning 503 errors when you're out of working backends.



Steve Webster
Web Architect

(Apologies for the overly long and pointless corporate footer that follows.)

LOVEFiLM UK Limited is a company registered in England and Wales. 
Registered Number: 06528297. 
Registered Office: No.9, 6 Portal Way, London W3 6RU, United Kingdom.

This e-mail is confidential to the ordinary user of the e-mail address to which it was addressed. If you have received it in error, 
please delete it from your system and notify the sender immediately.

This email message has been delivered safely and archived online by Mimecast.
For more information please visit 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list