activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SuoNayi (JIRA)" <>
Subject [jira] [Updated] (AMQ-4467) Memory usage percent can be exceeded much if PFC is disabled
Date Thu, 11 Apr 2013 05:57:19 GMT


SuoNayi updated AMQ-4467:

    Attachment: AMQ-4467.patch

One simple solution is when the cursor calls the hasSpace method to see if it has space to
cache messages we also check it's parent to see if it's full.
The patch is based on 5.6 codebase.
> Memory usage percent can be exceeded much if PFC is disabled
> ------------------------------------------------------------
>                 Key: AMQ-4467
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.x
>            Reporter: SuoNayi
>             Fix For: 5.9.0
>         Attachments: AMQ-4467.patch
> If PFC is disabled, when the store cursor checks limits, it checks only the memory percentage
of its own MemoryUsage and compares it to the high water mark. Otherwise if PFC is enabled,
it checks whether the MemoryUsage is "full" but the "isFull" method also checks its parents.
> This issue arrises when you have memory limits set on queues higher than the overall
system limit, as well as if you have multiple queues who's memory limits combined are higher
than the overall system limit. These settings must be taken into account.
> The original form can be found at 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message