tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Django Radonich-Camp <>
Subject ajp_ilink_receive error - please advise
Date Wed, 19 Sep 2012 21:38:37 GMT

we are running an application on tomcat and experiencing intermittent
periods where the application is non-responsive and thus non-functional.
 the general set up is apache and tomcat, with mod_proxy_ajp as the
connector (specific details and configs below).

during these events, the primary apache error log shows the following:
1. (104)Connection reset by peer: ajp_ilink_receive() can't receive header
2. (70007)The timeout specified has expired: ajp_ilink_receive() can't
receive header

it looks like error #1 repeats for a while and then error #2 repeats for a

at the same time in the application specific apache error log (as specified
in the vhost set up for app) we see the following errors repeated (though
in mixed order from below):
3. [error] ajp_read_header: ajp_ilink_receive failed
4. [error] (120006)APR does not understand this error code: proxy: read
response failed from (null) (localhost)
5. [error] (120006)APR does not understand this error code: proxy: read
response failed from (localhost)
6. [error] [client X.X.X.X] proxy: error processing end

and occasionally:
7. [error] proxy: read zero bytes, expecting 464 bytes

the catalina.out log registers nothing during the time period the
application is unresponsive.

a couple of other things to note:
- these events are coming under light to no load as far as i can tell.
- these events last from about 5 to 30 minutes and then everything works
again as expected with no manual intervention.
- the time of day of for the events is not consistent.
- these events initially occured rarely, but over the last month have
ramped up to daily.

any suggestions on how to fix or further troubleshoot this problem? and
thanks in advance for the help.

below please find more information on versions and configs... let me know
if more info is needed.

OS Name:        Linux (ubuntu 10.04.4)
OS Version:     2.6.32-31-server
Architecture:   amd64
JVM Version:    1.6.0_32-b05
JVM Vendor:     Sun Microsystems Inc.
Server version: Apache Tomcat/6.0.24
apache: Apache/2.2.14

MPM configs
<IfModule mpm_prefork_module>
   StartServers          5
   MinSpareServers       5
   MaxSpareServers      10
   MaxClients           26
   MaxRequestsPerChild  1000

balancer conf
<Proxy balancer://mysite_balancer*>
    Order deny,allow
    Allow from all

ProxyPassMatch ^/([cm])(.*)?$ balancer://mysite_balancer/irised/client

ProxyPassReverseCookiePath /irised /

<Proxy balancer://mysite_balancer>
    BalancerMember ajp://localhost:8009 route=www1 retry=5

connector xml
<Connector URIEncoding="UTF-8"
           redirectPort="8443" />

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message