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 is You can use the management interface to obtain a proxy object. See Examples of accessing MBean attributes and operations.
For more information about the management interface, see the Java™ API document for Liberty. The Java API documentation for each Liberty API is detailed in the Programming interfaces (Javadoc) section of the online IBM® documentation, and is also available as a separate .zip file in one of the javadoc subdirectories of the ${wlp.install.dir}/dev directory.