[Catalyst] Speeding up recovery from 503 errors + backend

Bill Moseley moseley at hank.org
Mon Aug 2 14:42:17 GMT 2010


On Mon, Aug 2, 2010 at 12:58 AM, Paul Makepeace <paulm at paulm.com> wrote:

> >From time to time I forget to restart the Catalyst backend and Apache
> reports the usual 503 Service Temporarily Unavailable error.
> Annoyingly, even when the backend is restarted Apache seems to
> negatively cache that "backend gone away" result and keep serving
> 503s. Is there a way to have it re-check every time, or some other
> solution that doesn't require an Apache restart?
>

See the retry setting:

 http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

We have the same issue when using mod_rewrite to proxy with [P].

You might want to look at using some other type of front end proxy, too,
perhaps Perlbal.


-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100802/b4fc9=
674/attachment.htm


More information about the Catalyst mailing list