File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes threadgroup: activeCount and enumerate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "threadgroup: activeCount and enumerate" Watch "threadgroup: activeCount and enumerate" New topic
Author

threadgroup: activeCount and enumerate

bart zagers
Ranch Hand

Joined: Feb 05, 2003
Posts: 234
A question about threadgroup's activeCount and enumerate.
We are looking at the number of threads in our Websphere application server (running on as400). If we look at the number of the recurvisely enumrated threads from the root threadgroup, it is constantly around the same figure of 150 active threads.
However if we look at the activeCount, it rises every day with about 150. It starts at about 170 (which seems normal) and grows over 1000 in a couple of days.
I aware of the "estimated" character of the activeCount number, but it seems odd that it keeps rising and gets so high.
About every week, we have to restart our WAS, can it be related to this issue or don't we have to worry about this and looks elsewhere?

Bart.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: threadgroup: activeCount and enumerate
 
Similar Threads
do u know something about these Threads?
New threading architecture leads to unexpected results
thread scope
activeCount Gives worng number :argh:
Demon ThreadGroup/ThreadGroup