-
Improvement
-
Resolution: Unresolved
-
Major
-
None
A waiting thread will show in the Monitoring plugin like this:
"http-bio-9029-exec-3493" daemon prio=5 TIMED_WAITING
But on host-url/threadDump screen it'll give more information on the object that is being waited for:
"http-bio-9029-exec-3493" Id=194353 Group=main TIMED_WAITING on com.sun.jndi.ldap.LdapRequest@10f324c
This goes the same for Blocked state.
Without this information the thread-dump feature becomes kind of useless in these situations.
I managed to find a BLOCKED state example that clearly shows that the monitoring plugin is not helping in these cases.
Monitoring plugin:
"Thread-127432" daemon prio=5 BLOCKED
com.sun.jndi.ldap.Connection.getInputStream(Connection.java:710)
com.sun.jndi.ldap.Connection.run(Connection.java:832)
java.lang.Thread.run(Thread.java:722)
jenkins-url/threadDump:
"Thread-127432" Id=193884 Group=main BLOCKED on com.sun.jndi.ldap.Connection@77b338dc owned by "Jenkins cron thread" Id=23
at com.sun.jndi.ldap.Connection.getInputStream(Connection.java:710)
at com.sun.jndi.ldap.Connection.run(Connection.java:832)
at java.lang.Thread.run(Thread.java:722)