httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: [users@httpd] mod_proxy_ajp failed to connect infrequently
Date Fri, 08 Oct 2010 11:19:34 GMT
On 08.10.2010 09:33, Yu Kikuchi wrote:
> My environment is Apache 2.2.11 and JBoss AS 5.0.0.
> There were no messages in JBoss's access log when the error occured.
> I had changed the setting to use "mod_proxy_http" the day before yesterday,
> then not HTTP 503 error but 502 error occured.
> Are anybody onto something about this error?
> Are there any ideas to pursue the exact cause of it?
> (2010/10/07 18:50), Yu Kikuchi wrote:
>> Hello.
>> Apache wrote such as following messages into error_log and returned HTTP 500/503
error infrequently.
>> [error] (104)Connection reset by peer: ajp_ilink_receive() can't receive header
>> [error] ajp_read_header: ajp_ilink_receive failed
>> [error] (120006)APR does not understand this error code: proxy: read response failed
>> (
>> I have installed Apache and JBoss Application Server into the same server.
>> I suspected mod_proxy_ajp caused the errors because JBoss hasn't logged any messages
and left indications of abort.
>> After the setting of "ping" options, the errors disappeared instead of cping/cpong
retry occurrence. Exactly:
>> ---------------------------------------------------
>> <Location /test>
>>     ProxyPass ajp:// ping=1
>> </Location>
>> ---------------------------------------------------
>> I examine prior occurrences, but nobody told about the cause of this phenomenon.
>> Does anybody tell me why the errors came up?

Could it be a timeout while waiting for the reply? Add "%D" to your 
LogFormat and check, how long those requests take.

I didn't understand the "the errors disappeared instead of cping/cpong 
retry occurrence" part of your question.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message