Re: mod_proxy_ajp failed to connect infrequently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 from xxx.xxx.xxx.xxx:8009
> (xxx.xxx.xxx.xxx)
> 
> 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://xxx.xxx.xxx.xxx:8009/test 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?
> 
> Best regards.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See<URL:http://httpd.apache.org/userslist.html>  for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>     "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux