Java Mailing List Archive

http://www.junlu.com/

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

Re: Tomcat - All threads (200) are currently busy

Bill Au

2007-07-12

Replies:

Take a thread dump of the JVM:

http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/

Bill

On 7/12/07, André Vila Cova <andremailinglist@(protected):
>
> Hi!
>
> I've this two processes:
>
> tomcat   6404 0.0 2.6 484396 105456 ?   Sl  01:05  0:14
> /usr/local/java1.5/bin/java -Xms64m -Xmx200m -Xss512k -
> Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
> Djava.util.logging.conf
> tomcat   6555 0.1 3.8 516420 154452 ?   Sl  01:09  0:39
> /usr/local/java1.5/bin/java -Xms64m -Xmx200m -Xss512k -
> Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
> Djava.util.logging.conf
>
> Output is null when I execute the following command:
> [root@(protected)
> [root@(protected) ~]#
>
> How can I see what thread is doing?
>
> Thank You
>
>
>
> On 7/11/07, Titi Wangsa <blacksnow666@(protected):
> >
> > probably some threads are performing database operation
> > and it takes too long so new threads are being spawned,
> > the new threads are also taking too long, so newer threads are being
> > spawned.
> > too much spawning, that is what is causing the limit break.
> >
> > On 7/12/07, André Vila Cova <andremailinglist@(protected):
> > > I don't think so... I will see..but, why i get the error?
> > > SEVERE: All threads (200) are currently *busy*, waiting. *Increase
> > >
> > >
> > > On 7/11/07, Mladen Turk <mladen.turk@(protected):
> > > >
> > > > André Vila Cova wrote:
> > > > > 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):*
> > > > > *
> > > > >
> > > >
> > > > You have probably done that for a wrong connector.
> > > >
> > > > Regards,
> > > > Mladen.
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To start a new topic, e-mail: users@(protected)
> > > > To unsubscribe, e-mail: users-unsubscribe@(protected)
> > > > For additional commands, e-mail: users-help@(protected)
> > > >
> > > >
> > >
> >
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.