[jboss-jira] [JBoss JIRA] (WFCORE-1341) Remoting worker threads runtime current size, queue size, etc are not visible

Brad Maxwell (JIRA) issues at jboss.org
Thu Jan 28 18:22:00 EST 2016


    [ https://issues.jboss.org/browse/WFCORE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156187#comment-13156187 ] 

Brad Maxwell commented on WFCORE-1341:
--------------------------------------

[~ctomc] , should the runtime data be shown via?

{code}
/subsystem=io:read-resource(include-runtime=true, recursive=true)
{
    "outcome" => "success",
    "result" => {
        "buffer-pool" => {"default" => {
            "buffer-size" => undefined,
            "buffers-per-slice" => undefined,
            "direct-buffers" => undefined
        }},
        "worker" => {"default" => {
            "io-threads" => undefined,
            "stack-size" => 0L,
            "task-keepalive" => 60,
            "task-max-threads" => undefined
{code}

> Remoting worker threads runtime current size, queue size, etc are not visible
> -----------------------------------------------------------------------------
>
>                 Key: WFCORE-1341
>                 URL: https://issues.jboss.org/browse/WFCORE-1341
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Remoting
>    Affects Versions: 2.0.7.Final
>            Reporter: Brad Maxwell
>            Assignee: Tomaz Cerar
>
> The remoting subsystem uses a worker-thread-pool which can be configured such as shown below.
> The runtime thread pool information is not exposed when doing read-resource:
> {code}
> /subsystem=remoting:read-resource(include-runtime=true, recursive=true)
> {code}
> {code}
> <subsystem xmlns="urn:jboss:domain:remoting:1.1">
>    <worker-thread-pool
>        read-threads="1"
>        task-core-threads="4"
>        task-keepalive="60"
>        task-limit="16384"
>        task-max-threads="16"
>        write-threads="1"
>     />
>     <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
> </subsystem>
> {code}
> In tuning and runtime diagnosis, it would be useful to see the thread pool information such as the current size, queue-size, largest-thread-count, etc similar to the ejb3 subsystem thread pool: 
> {code}
> /subsystem=ejb3/thread-pool=default:read-resource(include-runtime=true, recursive=true)
>     "result" => {
>         "active-count" => 0,
>         "completed-task-count" => 0L,
>         "current-thread-count" => 0,
>         "keepalive-time" => {
>             "time" => 100L,
>             "unit" => "MILLISECONDS"
>         },
>         "largest-thread-count" => 0,
>         "max-threads" => 10,
>         "name" => "default",
>         "queue-size" => 0,
>         "rejected-count" => 0,
>         "task-count" => 0L,
>         "thread-factory" => undefined
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list