[
https://issues.apache.org/jira/browse/AMQ-5969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher L. Shannon resolved AMQ-5969.
-----------------------------------------
Resolution: Fixed
The diskUsageCheckRegrowThreshold property can be used to configure this. By
default it is -1 and turned off. Setting this property to 0 or greater will
enable it.
{code:xml}
<!-- Check disk limits every minute and grow the store size up to a maximum of
50% of the partition. Only increase if the amount of free space has increased
by 10 mb or more -->
<broker xmlns="http://activemq.apache.org/schema/core"
schedulePeriodForDiskUsageCheck="60000" diskUsageCheckRegrowThreshold="10 mb">
...
<systemUsage>
<systemUsage>
<storeUsage>
<!-- Use up to 50% of the partition size -->
<storeUsage percentLimit="50" />
</storeUsage>
</systemUsage>
</systemUsage>
---
</broker>
{code}
> Add a configurable threshold property for disk limit change
> -----------------------------------------------------------
>
> Key: AMQ-5969
> URL: https://issues.apache.org/jira/browse/AMQ-5969
> Project: ActiveMQ
> Issue Type: Sub-task
> Affects Versions: 5.12.0
> Reporter: Christopher L. Shannon
> Assignee: Christopher L. Shannon
> Priority: Minor
> Fix For: 5.13.0
>
>
> There should be a configurable offset/threshold value set to prevent the disk
> limits from growing to often when only minor changes happen to the disk size.
> A good default value is probably something like 1 megabyte, but could be
> configured higher or lower.
> This would mean that the store limit value would only increase when the
> available space changes by at least the offset value.
> This only applies to growing the store (when using the percent option)
> because we always want to shrink the store limit if it's too large even if by
> 1 byte to make sure the configured limit is never higher than the available
> space.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)