Hi list,

I'm trying a load balance two tomcats servers with one apache in front
wit MPM worker, but after a while, apache left too many connections in
CLOSE_WAIT state until it stops responding.

The problem seems to be that, in a process with 5 threads, it gets some
of them on CLOSE_WAIT, and won't recycle the process until all the
connections get into CLOSE_WAIT, so it start another process, and all
starts again.


I've changed the tomcat and AJP worker to timeout in 10 minutes.
Also changed the amount of threads per child, in order to get low
threads each one, and get more possibilities of get all them in
CLOSE_WAIT, but it just delays a little more the problem.

Connections get in CLOSE_WAIT also when clients closes the site, so I
think that is something with mpm worker.

I've read the documentation of mpm more than 10 times, but can't find
the way to make apache recycle process, even changing the
maxewquestperchild option.


I'm using httpd-2.2.9, tomcat connectors 1.2.26, tomcat 6.0.20 and java
1.6.0_10 on a CentOS 5.3 with 64 bits.

Here is my actual httpd mpm conf:

<IfModule mpm_worker_module>
    StartServers          30
    MaxClients          1500
    MinSpareThreads        5
    MaxSpareThreads        5
    ThreadsPerChild        5
    MaxRequestsPerChild   50
</IfModule>


Any light on this problem is really appreciated. After googling for
about 5 days, I'm completely lost.


Thanks!

Martin



---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to