Re: Too many CLOSE_WAIT connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
Nick Kew

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux