Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10326

Add setting to control global memory usage for messaging servers

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes

      Description

      Please see https://issues.apache.org/jira/browse/ARTEMIS-581

      Artemis defines given max amount of memory for each queue (max-size-bytes). If this amount if reached then one of the defined policies BLOCK, PAGE, FAIL or DROP is applied to newly incoming messages.

      Problem is that with 400 queues and max-size-bytes=10MB, this would require 4 GB of heap memory to avoid OutOfMemoryError and crash of EAP 7 server. Thus new attribute global-max-size should be added to limit how much memory Artemis queues can consume before applying policies BLOCK, PAGE, FAIL or DROP.

      There is also no check how much disk space Artemis journal is consuming. Which should be limited.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ehugonnet Emmanuel Hugonnet
                  Reporter:
                  jmesnil Jeff Mesnil
                  Tester:
                  Miroslav Novak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: