Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Tomcat - All threads (200) are currently busy

André Vila Cova

2007-07-11

Replies:

Hello!

I get lot of times the following error:

SEVERE: All threads (200) are currently *busy*, waiting. *Increase
maxThreads*
**
*Strange is that i've configured in server.xml the following
(maxThreads=400):*
*

<Connector
port="8085"          maxHttpHeaderSize="8192"
         maxThreads="400" minSpareThreads="25" maxSpareThreads="75"
         enableLookups="false" redirectPort="8443" acceptCount="100"
         connectionTimeout="5000" disableUploadTimeout="true" />
*
*Yes, I already restarted tomcat...*
**
*First: Why I get the previous error?*
*Second: Why in error I see 200?*
**
Release............ : Jakarta-Tomcat 5.5.20

The architecture is based on a web server on a server and tomcat in other
server... When I execute ping i get :

64 bytes from 192.168.30.11: icmp_seq=11953 ttl=63 time=0.648 ms
64 bytes from 192.168.30.11: icmp_seq=11954 ttl=63 time=0.654 ms
64 bytes from 192.168.30.11: icmp_seq=11955 ttl=63 time=0.664 ms
64 bytes from 192.168.30.11: icmp_seq=11956 ttl=63 time=0.657 ms
64 bytes from 192.168.30.11: icmp_seq=11957 ttl=63 time=0.656 ms
64 bytes from 192.168.30.11: icmp_seq=11958 ttl=63 time=0.654 ms
64 bytes from 192.168.30.11: icmp_seq=11959 ttl=63 time=0.664 ms
64 bytes from 192.168.30.11: icmp_seq=11960 ttl=63 time=0.674 ms
64 bytes from 192.168.30.11: icmp_seq=11961 ttl=63 time=0.659 ms

Could you help me please?

Regards

Thank You
©2008 junlu.com - Jax Systems, LLC, U.S.A.