[Catalyst] Speeding up recovery from 503 errors + backend
paulm at paulm.com
Mon Aug 2 18:33:55 GMT 2010
On Mon, Aug 2, 2010 at 07:42, Bill Moseley <moseley at hank.org> wrote:
> 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:
Thanks! That did it.
> 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.
Unfortunately for now this server's :80 is bound to Apache+PHP&Java
but I'll look into that if we ever get interesting enough to go solo
on an IP...
More information about the Catalyst