[
https://issues.apache.org/jira/browse/AMQ-6014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004481#comment-15004481
]
ASF subversion and git services commented on AMQ-6014:
------------------------------------------------------
Commit e54c9ccfa0a2bbc419fc10c39825610bf078c3db in activemq's branch
refs/heads/activemq-5.12.x from [~gtully]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=e54c9cc ]
https://issues.apache.org/jira/browse/AMQ-6014 - fix up reference counting for
durable subs such that ack on one sub does not decrement usage for offline
subs. Fix and test
(cherry picked from commit 1ad0117932ae73603b963860c92c0980a3572b9e)
> Offline Durable Topic Subscription exceeds memory limits
> --------------------------------------------------------
>
> Key: AMQ-6014
> URL: https://issues.apache.org/jira/browse/AMQ-6014
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.12.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Fix For: 5.13.0
>
>
> To reproduce:
> 1) Start two durable subscriptions using the openwire swissarmy examples:
> ant consumer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin
> -Dpassword=admin -Dmax 500000
> ant consumer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin
> -Dpassword=admin -DclientId=c2
> 2) Start a producer using the following command:
> ant producer -Dtopic=true -Ddurable=true -Dsubject=test -Duser=admin
> -Dpassword=admin -Dmax=500000
> 3) Kill one of the durable topic subscribers and let the test run
> 4) the broker will go OOM
> The cache for the offline durable sub is not recording is cached messages
> against system memory usage as it should. Hence the limits are not hit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)