users@glassfish.java.net

Monitoring threads

From: <forums_at_java.net>
Date: Tue, 15 Nov 2011 08:45:48 -0600 (CST)

Running GlassFish Version: GlassFish Server Open Source Edition 3.1 (build
43)

Have set Thread Pool and HTTP Service monitor to "HIGH"...

When looking at the monitor for Server->http-listener-1->Thread Pool
Statistics, we see similar to:

 

CoreThreads 5 count Nov 14, 2011 9:06:42 PM Nov 14, 2011 9:15:30 PM -- Core
number of threads in the thread pool CurrentThreadsBusy 2 count Nov 14, 2011
9:06:42 PM Nov 15, 2011 9:43:19 AM -- Provides the number of request
processing threads currently in use in the listener thread pool serving
requests TotalExecutedTasksCount 442699 count Nov 14, 2011 9:06:42 PM Nov 15,
2011 9:43:19 AM -- Provides the total number of tasks, which were executed by
the thread pool MaxThreads 75 count Nov 14, 2011 9:06:42 PM Nov 14, 2011
9:15:30 PM -- Maximum number of threads allowed in the thread pool
CurrentThreadCount 53 count Nov 14, 2011 9:06:42 PM Nov 15, 2011 6:48:04 AM
-- Provides the number of request processing threads currently in the
listener thread pool
 

Thread timeouts are set to 30s. Why does the CurrentThreadCount never
decrease? Interestingly, if i save any HTTP/Thread Pool config through gui
(without a change), the values change...???

Looking at the process through jconsole shows 50+ threads in a wait state...

Please help.

 


--
[Message sent by forum member 'rlsgf']
View Post: http://forums.java.net/node/864173