You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/09/22 22:59:14 UTC

[Bug 57004] New: Get number of stuck threads from StuckThreadDetectionValve through jmx

https://issues.apache.org/bugzilla/show_bug.cgi?id=57004

            Bug ID: 57004
           Summary: Get number of stuck threads from
                    StuckThreadDetectionValve through jmx
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jiri.pejchal@gmail.com

It would be nice if the number of stuck threads reported by
StuckThreadDetectionValve was available through jmx (e.g. stuckThreadCount).

The number of stuck threads is stored in the stuckCount variable. However there
is no jmx attribute for it, there is only getter for stuckThreadIds which is
long[].


I usually use tool like jmxtrans to get the value and plot a graph with
graphite.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57004] Get number of stuck threads from StuckThreadDetectionValve through jmx

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57004

--- Comment #1 from Jiří Pejchal <ji...@gmail.com> ---
Created attachment 32045
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32045&action=edit
Patch for getting stuckThreadCount through jmx

This would be nice to have in tomcat7 too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57004] Get number of stuck threads from StuckThreadDetectionValve through jmx

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57004

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> ---
Fixed in trunk in r1626991. Will be in Tomcat 8.0.13 and later.
Fixed in Tomcat 7. Will be in Tomcat 7.0.56 and later.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org