tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Spinassi <martins.li...@gmail.com>
Subject All threads are busy
Date Mon, 24 Nov 2008 15:15:19 GMT
Hi to all again!


I keep working on some performance on tomcat and apache, but there is
something that I can't figure out.


Using jmeter to do the tests, connecting to port 80 (tomcat), I get the
next error at catalina.out:


Nov 24, 2008 1:51:54 PM org.apache.tomcat.util.threads.ThreadPool
logFull
SEVERE: All threads (200) are currently busy, waiting. Increase
maxThreads (200) or check the servlet status


And start getting some 503 errors.


Using the same configuration at jmeter, but going throw port 8080, that
error never appears at catalina.out, and no 503 pages are displayed
ever.


I've already tryed to increase maxThreads, but with no success.

There is a thread in this list, but it doesn't 

Here is some of may server.xml:


<Executor name="tomcatThreadPool" namePrefix="catalina-exec-" 
        maxThreads="400" minSpareThreads="4" maxSpareThreads="100"/>


<Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />


<Connector executor= "tomcatThreadPool" port="8009" protocol="AJP/1.3"
redirectPort="8443" />


And here my workers.properties:


#Worker1 properties
worker.worker1.port=8009
worker.worker1.host=127.0.0.1
worker.worker1.type=ajp13
worker.worker1.fail_on_status=503
worker.worker1.retries=2



I'm using CentOS 5.2, apache 2.2.10, connectors 1.2.27 and tomcat
6.0.18.


How can I increase the maxThread option? What am I missing here?



Thanks to all.




Martín




---------------------------------------------------------------------
To start a new topic, e-mail: users@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