Network Deployment (Distributed operating systems), v8.0 > Troubleshoot and support > Configure the hang detection policy


Hung threads in Java Platform, Enterprise Edition applications

WAS monitors thread activity and performs diagnostic actions if one has become inactive. When WebSphere detects that a thread has been active longer than the time defined by the thread monitor threshold, the application server takes the following actions:



False Alarms

If the work actually completes, a second set of messages, notifications and PMI events is produced to identify the false alarm. The following message is written to the log:

where threadname is the name that appears in a JVM thread dump, hangtime gives an approximation of how long the thread has been active and totalthreads gives an overall assessment of the system threads.


Automatic adjustment of the hang time threshold

If the thread monitor determines too many false alarms are issued (determined by the number of pairs of hang and clear messages), it can automatically adjust the threshold. When this adjustment occurs, the following message is written to the log:

where thresholdtime is the time (in seconds) in which a thread can be active before it is considered hung. You can prevent WAS from automatically adjusting the hang time threshold. See Configure the hang detection policy

Configure the hang detection policy
Monitor performance with Tivoli Performance Viewer
Example: Adjusting the thread monitor to affect server hang detection

+

Search Tips   |   Advanced Search