Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3575

Wrong address size estimation on broker restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.20.0
    • None
    • None

    Description

      Steps to reproduce:

      Using the GUI in the console:

      • Create a new multicast address named "mytest"
      • Select the address and create a durable multicast queue named "mytest"
      • Use the artemis CLI to produce messages. For example like this:
        artemis producer --user admin --password admin --url tcp://localhost:61616 --destination topic://mytest --message-count 1000 --message-size 40960 --threads 4
        Note the reported address memory used in the console: in the example above it is 160.26MB
      • restart the broker
      • the reported address memory is now below 1 MB

      The error seems due to the paging store owner that's not correctly set on the message while loading it, preventing its memory estimation to be accounted into the address size.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              nigrofranz Francesco Nigro
              Votes:
              0 Vote for this issue
              Watchers:
              2 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