You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Karan Aggarwal (Jira)" <ji...@apache.org> on 2020/11/09 18:17:00 UTC

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

    [ https://issues.apache.org/jira/browse/ARTEMIS-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17228753#comment-17228753 ] 

Karan Aggarwal commented on ARTEMIS-2825:
-----------------------------------------

Hi [~jbertram],

is it possible that due to this issue, Artemis start giving below error? Here, the actual space remaining in the disk is approx 400GB.

 
org.apache.activemq.artemis.core.server] AMQ222210: *Free storage space is at 5.3GB of 53.7GB total. Usage rate is 90.2% which is beyond the configured <max-disk-usage>*. System will start blocking producers.

> 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
>            Priority: Major
>             Fix For: 2.14.0
>
>
> 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)