[
https://issues.apache.org/jira/browse/ARTEMIS-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230155#comment-17230155
]
Karan Aggarwal commented on ARTEMIS-2825:
-----------------------------------------
Hi [~jbertram],
We are using Artemis 2.11.0
Producer in our application have stopped due to below exception.
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.
When we check the disk space, we get that Approx 400GB of space is available.
I wanted to know if this particular issue of wrongly calculating the disk
storage percent can cause the above mentioned issue?
Thanks for your time. :)
> 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)