tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baba smith <>
Subject Tomcat mod_proxy_ajp and workers
Date Thu, 26 Jan 2012 12:14:12 GMT
i'm pretty much confused about the workers issue.  
my setup is an apache server and a tomcat that are connected with a
mode_proxy_ajp connector.
the porblem is that some time after that both are working, the tomcat stops
responding to apache. the errors that i see in the apache are:
1. (70007)The timeout specified has expired: ajp_ilink_receive() can't
receive header
2. ajp_read_header: ajp_ilink_receive failed
3. (120006)APR does not understand this error code: proxy: read response
failed from (localhost)

i tries to figure that out reading many posts and i got the idea that maybe
the apache is configured with more workers than the tomcat and that it
causes the apache to time out.

so i looked for the workers configuration and actually i couldnt find any
workers properties file in neither of the servers. (apache 2.2.15 and tomcat
7, were installed by someone else a couple of months ago). 
is there a default configuration that takes place when there is no
properties file for the workers?

the closest thing that i found is in the httpd.conf file of the apache and
it says:
<IfModule worker.c>
   StartServers         4
   MaxClients         300
   MinSpareThreads     25
   MaxSpareThreads     75 
   ThreadsPerChild     25
   MaxRequestsPerChild  0

whats that?

thank you for your time :)

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message