You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2020/06/27 03:59:00 UTC

[jira] [Created] (ARTEMIS-2825) Wrong calculation for DiskStoreUsagePercentage

Justin Bertram created ARTEMIS-2825:
---------------------------------------

             Summary: Wrong calculation for DiskStoreUsagePercentage 
                 Key: ARTEMIS-2825
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2825
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Justin Bertram
            Assignee: Justin Bertram


The calculation used by {{org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.getDiskStoreUsagePercentage()}} is incorrect. It uses disk space info with global-max-size which is for address memory. Also, the existing {{getDiskStoreUsage()}} method _already_ returns a percentage of total disk store usage.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)