httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Spinassi <martins.li...@gmail.com>
Subject Re: [users@httpd] Too many CLOSE_WAIT connections
Date Tue, 29 Sep 2009 18:53:16 GMT
On Mon, 2009-09-28 at 19:48 +0100, Nick Kew wrote:
> Martin Spinassi wrote:
> > 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.
> 
> Shouldn't do that.  Have you got some ridiculously long Timeout?
> 
> > The problem seems to be that, in a process with 5 threads, it gets some
> 
> 5 threads is very, very low.
> 
> > <IfModule mpm_worker_module>
> 
> Event MPM should help with this over Worker if there really is
> a problem.  But I'd look at your timeout and threads first.
> And that MaxRequestsPerChild is ridiculously low too: you
> should almost certainly use 0 (unlimited) if it's just
> fronting something on tomcat.


Just in case someone gets the same problem, it's related to a bug
already fixed in apache mpm. Updating the httpd to 2.2.10 or later fixes
it.


Thanks @all.


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


Mime
View raw message