You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2019/01/06 16:44:00 UTC

[jira] [Comment Edited] (AMQ-7118) KahaDB store limit can be exceeded with durable subscribers.

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

Jamie goodyear edited comment on AMQ-7118 at 1/6/19 4:43 PM:
-------------------------------------------------------------

{{I've pulled latest on Master and built locally:}}

{{-------------------------------------------------------}}
 {{ T E S T S}}
 {{-------------------------------------------------------}}
 {{Running org.apache.activemq.bugs.AMQ7118Test}}
 {{Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.474 sec - in org.apache.activemq.bugs.AMQ7118Test}}

{{Results :}}

{{Tests run: 1, Failures: 0, Errors: 0, Skipped: 0}}

{{Can you please supply more information on your environment? }}

{{I've also run the kahadb store tests as well:}}

{{Results :}}

{{Tests run: 140, Failures: 0, Errors: 0, Skipped: 1}}


was (Author: jgoodyear):
{{I've pulled latest on Master and built locally:}}

{{-------------------------------------------------------}}
{{ T E S T S}}
{{-------------------------------------------------------}}
{{Running org.apache.activemq.bugs.AMQ7118Test}}
{{Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.474 sec - in org.apache.activemq.bugs.AMQ7118Test}}

{{Results :}}

{{Tests run: 1, Failures: 0, Errors: 0, Skipped: 0}}

{{Can you please supply more information on your environment? }}

> KahaDB store limit can be exceeded with durable subscribers.
> ------------------------------------------------------------
>
>                 Key: AMQ-7118
>                 URL: https://issues.apache.org/jira/browse/AMQ-7118
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>    Affects Versions: 5.16.0, 5.15.8
>         Environment: JDK 8
>            Reporter: Jamie goodyear
>            Priority: Critical
>             Fix For: 5.16.0, 5.15.8
>
>         Attachments: kahaCommands.jpg
>
>
> KahaDB store limit can be exceeded with durable subscribers.
> AMQ with store limit set, we can observe that the usage continues to increase AFTER PFC is engaged. Given time, this growth stabilizes. The issue of having exceeded the store limit remains.
> See below output from KahaDB dump in attachments:
> This appears to be caused by checkpointAckMessageFileMap. The log files are not GC'd, and the KAHA_ACK_MESSAGE_FILE_MAP_COMMAND is replicated and the DB log files continue to expand - this can become exponential. Side effect of also not checking storage size in checkpoint update can cause the DB log files to exceed any set limits. The real critical part is the duplicated and leaking Kaha messages which appears to happen with durable subscribers.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)