> From: Jon Drukman [mailto:j...@cluttered.com] 
> Subject: Re: Connection timeout

> Is there any way to find out how many threads are being used 
> at a given moment?

Using JConsole or VisualVM would be a good start.  Either of those will let you 
see what's going on with threads, heap memory, and CPU usage.  Those tools will 
also let you take thread dumps to find out where threads are looping or stuck, 
if you observe that behavior.

> There's only one app running on this tomcat, if that makes 
> any difference.

Does it connect to a database (or any other external resource)?  If so, are you 
using a connection pool for the DB?  You may have threads queuing up waiting 
for a connection to become available.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to