tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joan Monplet Ortega" <j...@solostocks-int.com>
Subject RE: SEVERE: All threads (700) are currently busy, waiting. Increase maxThreads (700) or check the servlet status
Date Fri, 06 Nov 2009 07:24:14 GMT
Yeah, It's the one Tomcat. We have 4GB RAM on production Server and We run it with 1GB.

The version Tomcat is "Apache Tomcat/6.0.18".

Also, We're working with Lucene but I'm not sure that the problem is here.

We're looking Server Status from Apache Web Server and We have many keepalive connections
and If we check the Tomcat' status (I'm using Lambda Probe), We can see that exists a lot
of connection with KeepAlive.

We're using mod_proxy_ajp (Apache 2.2.x) for connecting to Apache Web Server & Tomcat.

When we restart Tomcat Web Server, the number of Threads (Stage KeepAlive) grows, and We don't
understand why occur that. It seems that Tomcat no unblock Threads whose stages are unblocked.
So, In 2 or 3 hours the current Threads busy increase until the Max threads.


What's the best way connecting Apache & Tomcat? mod_jk or mod_proxy_ajp?

What's the meaning stage keepalive in Tomcat?

How to we find the problematic servlet that does the many connections are blocked? Because
in LambdaProbe We can't find the exactly servlet url.

Thanks


-----Mensaje original-----
De: André Warnier [mailto:aw@ice-sa.com] 
Enviado el: jueves, 05 de noviembre de 2009 23:52
Para: Tomcat Users List
Asunto: Re: SEVERE: All threads (700) are currently busy, waiting. Increase maxThreads (700)
or check the servlet status

Joan Monplet Ortega wrote:
> 
> SEVERE: All threads (700) are currently busy, waiting. Increase
> maxThreads (700) or check the servlet status
> 
That sounds like a lot of threads.
>  
> 
> And we checked all servlets and we are sure that all cursors to database
> are closed (statement, resultset, etc...).
> 
Yeah, but it looks like they are busy anyway.  What are they doing ?

>  
> 
> When we have high traffic to our website the problem occurs.
> 
No kidding.
Is that one Tomcat ? And if it is, how much physical memory is available 
on that system ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message