tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: Tomcat mod_proxy_ajp and workers
Date Thu, 26 Jan 2012 13:05:08 GMT
Thats the MPM worker settings for apache threads. You need to find the ajp
Proxy part in your config.
On Jan 26, 2012 11:14 PM, "baba smith" <junkuribox@gmail.com> wrote:

> hi,
> 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 127.0.0.1:9005 (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
> </IfModule>
>
> whats that?
>
> thank you for your time :)
> baba
>
> --
> View this message in context:
> http://tomcat.10.n6.nabble.com/Tomcat-mod-proxy-ajp-and-workers-tp4340550p4340550.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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