eG Monitoring
 

Measures reported by SapWasThreadsTest

The J2EE Engine thread system is responsible for handling system and client threads. It comprises of two managers - Thread Manager and Application Thread Manager. The SapWasThreadsTest monitors the Application Thread Manager of the SAP Web Application server, which supplies the threads in which the client applications' source code is executed. This manager provides a set of properties for starting and managing client threads in the Java Virtual Machine. When a client request comes, the system tries to find a free thread in the Application Thread Manager and to start the execution of the request. If no free thread is available, the thread system buffers the request in a request queue. By buffering the threads and using them again, the system achieves better performance than using normal Java thread system without buffering. The Application Thread Manager runs only on server processes.

Outputs of the test : One set of results for each Server/Process.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Active_threads Indicates the number of threads from this thread pool which are currently executing a runnable task. Number This measure serves as a good indicator of the server workload.
Current_pool_size Indicates the number of threads that are currently in this thread pool. Number  
Threadpool_usage Indicates the percentage of threads in the thread pool that are being currently utilized. Percent If the value of this measure is high, it could indicate a heavy server workload.
Waiting_tasks Indicates the number of tasks waiting for threads from this thread pool, so as to begin execution. Number  
Tasks_queue_size Indicates the capacity of the request queue where the tasks waiting for execution are stored in this thread pool. Number  
Tasks_queue_overflow Indicates the number of tasks waiting to be placed in the request queue, in the event that the request queue is full in this thread pool. Number If the value of this measure increases consistently, it could indicate a processing bottleneck.
Max_pool_size Indicates the maximum number of threads that can be accommodated in this thread pool. Number