Intermittent 503's from Varnish

Steve Webster steve.webster at lovefilm.com
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.

Cheers,

Steve

-- 
Steve Webster
Web Architect
LOVEFiLM

(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 http://www.mimecast.co.uk 
-----------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111107/db571364/attachment-0003.html>


More information about the varnish-misc mailing list