Jiri Tulach - Position wrote:
> It's possible fault of mod_fastcgi which returns
> HTTP_INTERNAL_SERVER_ERROR in cases when server is overloaded or
> external fastcgi instances are unavailable. Unfortunately mod_fastcgi is
> not actively developed even thought lot of people use it in production
> sites.
> 
> But I still don't understand why proxy which has an option to get proper
> data from another (probably) working server stops trying to failover. I
> think from proxy point of view it doesn't matter why server is
> unavailable. Or am I missing something?

The ajp proxy may have sent the request and get a partial response if
you fail over after HTTP_INTERNAL_SERVER_ERROR you may duplicate a
transaction.

Cheers

Jean-Frederic

> 
> Thanx for comments.
> 
> Jiri Tulach
> 
> William A. Rowe, Jr. napsal(a):
>> Mladen Turk wrote:
>>> Jir wrote:
>>>>
>>>> is there any reason why HTTP_INTERNAL_SERVER_ERROR returned by proxy
>>>> handler cannot failover to another worker?
>>>
>>> Because HTTP_INTERNAL_SERVER_ERROR is used to represent either
>>> misconfiguration or even worse things like memory allocation
>>> failures. In essence non recoverable error.
>>> However, I'm not saying some scheme handler doesn't have
>>> bug returning HTTP_INTERNAL_SERVER_ERROR instead something
>>> else.
>>
>> Considering we have...
>>
>>   #define HTTP_BAD_GATEWAY                   502
>>   #define HTTP_SERVICE_UNAVAILABLE           503
>>   #define HTTP_GATEWAY_TIME_OUT              504
>>
>> it seems like most of the INTERNAL_SERVER_ERROR's should be considered
>> for more explicit messages, eh?
> 

Reply via email to