ThreadPool monitoring
You can use a ThreadPool
MXBean for thread pool monitoring in Liberty.
All web requests run in the thread pool, named Default Executor thread pool. You can
monitor the usage of Default Executor thread pool by using
ThreadPoolMXBean
.
The
ObjectName
for identifying MXBean for thread pool is
:WebSphere:type=ThreadPoolStats,name=Default Executor
Key Performance data that is available for
ThreadPool
:- Threads in the pool that represents the pool size.
- Active threads that are serving requests.
- Attributes for
ThreadPool
ActiveThreads
PoolSize
PoolName
(Supports only Default Executor thread pool)
- Management Interface
- The management interface of
ThreadPool
monitoring iscom.ibm.websphere.monitor.jmx.ThreadPoolMXBean
. You can use the management interface to obtain a proxy object. See Examples of accessing MBean attributes and operations.