Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6139

Unable to config maxThreadPoolSize in broker

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.11.1
    • Fix Version/s: 5.13.1, 5.14.0
    • Component/s: Pool
    • Labels:
      None

      Description

      The default value of maxThreadPoolSize is Integer.MAX_VALUE in TaskRunnerFactory for broker service, which does not make any sense. If you set -Dorg.apache.activemq.UseDedicatedTaskRunner=false but you are still able to create as many threads as you want. Suggest to make this configurable to limit the threads number the ActiveMQ broker can create.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tabish Timothy A. Bish
                Reporter:
                alt_alt JIE CHEN
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: