Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1925

[EAP71] Set activemq thread pool system properties

XMLWordPrintable

    • Hide
      Feature: Calculates default thread pool sizes for EAP7 based on Artemis configuration formulae(https://github.com/apache/activemq-artemis/blob/master/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/client/ActiveMQClient.java) and container limits specified by cgroups.
      Reason: The JVM is not cgroup aware and therefore cannot be trusted to generate default values for Artemis threads pool arguments. Otherwise, the JVM might calculate thread pool values that are too large for a container with restricted resources to handle.
      Result: Default Artemis thread pools sizes are calculated based on the resource limits of the container and not of the JVM
      Show
      Feature: Calculates default thread pool sizes for EAP7 based on Artemis configuration formulae( https://github.com/apache/activemq-artemis/blob/master/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/client/ActiveMQClient.java ) and container limits specified by cgroups. Reason: The JVM is not cgroup aware and therefore cannot be trusted to generate default values for Artemis threads pool arguments. Otherwise, the JVM might calculate thread pool values that are too large for a container with restricted resources to handle. Result: Default Artemis thread pools sizes are calculated based on the resource limits of the container and not of the JVM
    • CLOUD Maintenance Sprint 11

      It is possible to control Artemis thread pool sizes using system properties

      • activemq.artemis.client.global.thread.pool.max.size
      • activemq.artemis.client.global.scheduled.thread.pool.core.size

      Thread pool should be sized according to cgroups settings.

              kliberti Kyle Liberti
              jpechane Jiri Pechanec
              Tomas Remes Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: