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

Memory usage percent can be exceeded much if PFC is disabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.x
    • Fix Version/s: 5.15.0
    • Component/s: Broker
    • Labels:
      None

      Description

      If PFC is disabled, when the store cursor checks limits, it checks only the memory percentage of its own MemoryUsage and compares it to the high water mark. Otherwise if PFC is enabled, it checks whether the MemoryUsage is "full" but the "isFull" method also checks its parents.
      This issue arrises when you have memory limits set on queues higher than the overall system limit, as well as if you have multiple queues who's memory limits combined are higher than the overall system limit. These settings must be taken into account.
      The original form can be found at
      http://activemq.2283324.n4.nabble.com/What-can-be-reason-of-460-memory-usage-limit-td4665651.html

        Attachments

        1. AMQ-4467.patch
          0.4 kB
          SuoNayi

          Issue Links

            Activity

              People

              • Assignee:
                gtully Gary Tully
                Reporter:
                wangyin SuoNayi
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: