How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Janek Bogucki
Hi, We are trying to monitor the set of Threads in the JVM running Tomcat in order to fix a resource exhaustion problem we have. (Tomcat and/or our code is increasing the number of threads until the hard nproc limit in /etc/security/limits.conf for the user is reached. Red Hat Linux 7.2) How

Re: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread peter lin
use an application like optimizeIt or JProbe to profile the thread usage. Warning though, don't try running it on a system with less than 128mb of ram. peter Janek Bogucki wrote: Hi, We are trying to monitor the set of Threads in the JVM running Tomcat in order to fix a resource

Re: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Janek Bogucki
--- peter lin [EMAIL PROTECTED] wrote: use an application like optimizeIt or JProbe to profile the thread usage. Warning though, don't try running it on a system with less than 128mb of ram. peter Thanks for the links: http://www.sitraka.com/software/jprobe/

RE: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Shapira, Yoav
To: [EMAIL PROTECTED] Subject: How to list all Threads in the JVM? (Includes suggestion.) Hi, We are trying to monitor the set of Threads in the JVM running Tomcat in order to fix a resource exhaustion problem we have. (Tomcat and/or our code is increasing the number of threads until the hard

Re: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread anette mysel
PLEASE REMOVE ME FROM YOUR MAILING LIST. I DO NOT KNOW WHO YOU ARE. THANK YOU... - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 05, 2002 9:29 AM Subject: RE: How to list all Threads in the JVM? (Includes suggestion

Re: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread anette mysel
PLEASE REMOVE ME FROM YOUR MAILING LIST. I DO NOT KNOW WHO YOU ARE. THANK YOU... - Original Message - From: Janek Bogucki [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 05, 2002 8:21 AM Subject: Re: How to list all Threads in the JVM? (Includes suggestion

RE: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Janek Bogucki
Hi Yoav, --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Your basic code snippet worked relatively well. In fact, I liked it enough to start using it, with a few modifications and enhancements. I'm attaching a more fully developed class to do some more, e.g. get a list of all threads,