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

KahaDB store limit can be exceeded with durable subscribers.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.15.8, 5.16.0
    • 5.15.8, 5.16.0
    • KahaDB
    • None
    • JDK 8

    Description

      KahaDB store limit can be exceeded with durable subscribers.

      AMQ with store limit set, we can observe that the usage continues to increase AFTER PFC is engaged. Given time, this growth stabilizes. The issue of having exceeded the store limit remains.

      See below output from KahaDB dump in attachments:

      This appears to be caused by checkpointAckMessageFileMap. The log files are not GC'd, and the KAHA_ACK_MESSAGE_FILE_MAP_COMMAND is replicated and the DB log files continue to expand - this can become exponential. Side effect of also not checking storage size in checkpoint update can cause the DB log files to exceed any set limits. The real critical part is the duplicated and leaking Kaha messages which appears to happen with durable subscribers.

       

       

       

      Attachments

        1. kahaCommands.jpg
          1.93 MB
          Jamie Mark Goodyear

        Activity

          People

            Unassigned Unassigned
            jgoodyear Jamie Mark Goodyear
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m