Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8168

[Broker-J] Broker should flow to disk transient messages when heap usage reaches critical threshold in order to avoid running of heap memory due to consumption of heap by transient message metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • qpid-java-6.1.6, qpid-java-broker-7.0.3, qpid-java-broker-7.0.2, qpid-java-6.0.8, qpid-java-broker-7.0.0, qpid-java-broker-7.0.1, qpid-java-broker-7.1.0
    • Future
    • Broker-J
    • None

    Description

      The flow to disk is currently triggered when direct memory usage reaches predefined threshold (broker.flowToDiskThreshold which is set to 75% of direct memory size by default). However, in some situations (for example, when direct memory size is big and heap memory size is small), the direct memory threshold is not reached but the heap is fully occupied by transient messages data, the broker runs out of heap memory.

      The broker behaviour can be improved by triggering flow to disk when a heap occupancy reaches the critical threshold in addition to direct memory usage threshold.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              orudyy Alex Rudyy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: