Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4768

WFLYIO001: Worker 'default' has auto-configured to 24 core threads should be IO threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 11.0.0.Beta4, 11.0.0.Final
    • 11.0.0.Beta3
    • IO
    • None

      [org.wildfly.extension.io] (ServerService Thread Pool – 52) WFLYIO001: Worker 'default' has auto-configured to 24 core threads with 192 task threads based on your 12 available processors

      The IO subsystem by default picks values for the thread default sizes.
      The '24 core threads' is actually io-threads
      The '192 task threads' is the 'task-max-threads'
      The task-core-threads looks like it actually defaults to 2

      It would be better to change '24 core threads' to '24 IO threads' and 192 task threads' to 192 max task threads'

      list-get                    map-put                     read-attribute-group        read-children-types         read-resource-description   write-attribute
      [standalone@localhost:9990 /] /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" => {
                  "busy-task-thread-count" => 0,
                  "core-pool-size" => 2,
                  "io-thread-count" => 24,
                  "io-threads" => "24",
                  "max-pool-size" => 192,
                  "queue-size" => 0,
                  "shutdown-requested" => false,
                  "stack-size" => "0",
                  "task-core-threads" => "2",
                  "task-keepalive" => "60000",
                  "task-max-threads" => "192",
      

            rhn-support-rmartinc Ricardo Martin Camarero
            rhn-support-rmartinc Ricardo Martin Camarero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: