Hi Per Thanks for your advice. I had previously had saint mode set up as per the url.
After see another users vcl on the mailing list over the weekend I have changed
my vcl to
# if (beresp.status == 500) {
# set beresp.saintmode = 30s;
# restart;
# }
if (beresp.status != 200 && beresp.status != 403 &&
beresp.status != 404 && beresp.status != 301 && beresp.status != 302) {
set beresp.saintmode = 30s;
restart;
}
Hopefully this will help.
Glen
[cid:tasfire_wakeup_small6b89.jpg]<http://www.fire.tas.gov.au/Show?pageId=colDayLightSavings>
P Do you need to print this? Consider the environment, prevent paper waste.
CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by
legal professional privilege, and is intended only for the person or persons to
whom it is addressed. If you are not such a person, you are warned that any
disclosure, copying or dissemination of the information is unauthorised. If you
have received the transmission in error, please immediately contact this office
by telephone, fax or email, to inform us of the error and to enable
arrangements to be made for the destruction of the transmission, or its return
at our cost. No liability is accepted for any unauthorised use of the
information contained in this transmission.
From: Per Buer [mailto:[email protected]]
Sent: Friday, 12 November 2010 8:49 PM
To: Glen Kelly
Cc: [email protected]
Subject: Re: Vcl command restart and multiple backends
On Fri, Nov 12, 2010 at 12:52 AM, Glen Kelly
<[email protected]<mailto:[email protected]>> wrote:
How does varnish handle request to multiple backend when the vcl "restart"
command is run.
Does it use the same backend as the initial request or does it use another
backend in accordance to the configured director.
You should look at "Saint Mode" -
http://www.varnish-cache.org/docs/trunk/tutorial/handling_misbehaving_servers.html#saint-mode
When enabled it will blacklist failing objects from their backends.
--
Per Buer, Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / skype: per.buer
Varnish user? Take our survey:
http://www.varnish-cache.org/user-survey-november-2010
<<inline: tasfire_wakeup_small6b89.jpg>>
_______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
