Hogging vs Stuck Threads

Since Payara 4.1.2.173

The Payara Healthcheck Service contains two very similar metrics: hogging threads, and stuck threads. These are easily confused but operate in subtly different ways:

Hogging Threads

Hogging threads shows each thread which is using up a lot of CPU time. For example, a thread stuck in an infinite loop, or a thread waiting for another to complete.

Stuck Threads

Stuck threads shows each thread that isn't doing anything, for example if a deadlock has happened, or a thread is waiting for a response from a process that has already been killed.

Add Comment

Comments

0 comments

Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful