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

Thread pool turnover is to heavy due to Executor configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.6.0
    • 5.6.0
    • Broker, Connector
    • NA

    • Patch Available

    Description

      The following files use Executors that are poorly configured for every day use.

      src/main/java/org/apache/activemq/broker/BrokerService.java
      src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
      src/main/java/org/apache/activemq/transport/nio/SelectorManager.java

      Added suggested patch, but the timings should really be configurable to provide better control.
      The NIO SelectorManager change has shaved time savings of at least 1/6 - 1/4 off some of our long running tests.

      Attachments

        1. threads.png
          42 kB
          Andy Gumbrecht
        2. Executors.patch
          5 kB
          Andy Gumbrecht

        Activity

          People

            Unassigned Unassigned
            andyg Andy Gumbrecht
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified