activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Leach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5869) Failed to remove inactive destination: Destination still has an active subscription
Date Sun, 04 Sep 2016 22:23:20 GMT

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

John Leach commented on AMQ-5869:
---------------------------------

This is still a problem with 5.14.0

{quote}
2016-09-04 19:44:24,304 | INFO  | ActiveMQ.Advisory.Consumer.Queue.XX.yyyyyy.zzzzzzz Inactive
for longer than 30000 ms - removing ... | org.apache.activemq.broker.region.RegionBroker |
ActiveMQ Broker[b.staging_queue.gb1.brightbox.com] Scheduler
2016-09-04 19:44:24,304 | ERROR | Failed to remove inactive destination org.apache.activemq.security.AuthorizationDestinationFilter@b6ce7a
| org.apache.activemq.broker.region.RegionBroker | ActiveMQ Broker[b.staging_queue.gb1.brightbox.com]
Scheduler
javax.jms.JMSException: Destination still has an active subscription: topic://ActiveMQ.Advisory.Consumer.Queue.LB.lba-vv075.srv-b4ij2
        at org.apache.activemq.broker.region.AbstractRegion.removeDestination(AbstractRegion.java:270)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.jmx.ManagedTopicRegion.removeDestination(ManagedTopicRegion.java:62)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.region.RegionBroker.removeDestination(RegionBroker.java:363)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:178)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:178)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.advisory.AdvisoryBroker.removeDestination(AdvisoryBroker.java:277)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:178)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:178)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.security.AbstractAuthenticationBroker.removeDestination(AbstractAuthenticationBroker.java:38)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:178)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.security.AuthorizationBroker.removeDestination(AuthorizationBroker.java:131)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:178)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.MutableBrokerFilter.removeDestination(MutableBrokerFilter.java:183)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.region.RegionBroker.purgeInactiveDestinations(RegionBroker.java:906)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.broker.region.RegionBroker$1.run(RegionBroker.java:118)[activemq-broker-5.14.0.jar:5.14.0]
        at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)[activemq-client-5.14.0.jar:5.14.0]
        at java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_111]
        at java.util.TimerThread.run(Timer.java:505)[:1.7.0_111]
{quote}

> Failed to remove inactive destination: Destination still has an active subscription
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-5869
>                 URL: https://issues.apache.org/jira/browse/AMQ-5869
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.11.1
>         Environment: openjdk-7u79
> linux
> i386
>            Reporter: John Leach
>            Priority: Minor
>
> I have two amq brokers, bridged together with consumers connected to both.
> And a destination policy configured like this:
> <policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb" gcInactiveDestinations="true"
inactiveTimoutBeforeGC="30000">
> I've been running them for years, upgrading through the 5.x releases.
> I just upgraded to 5.11.1 (and had to also upgrade from openjdk-6 to openjdk-7 to do
so) and are seeing an exception being logged every 10 seconds:
> Jun 30 10:28:10 srv-zvbod activemq:  INFO | ActiveMQ.Advisory.Consumer.Queue.DB.dbs-yafwc.srv-8ra75
Inactive for longer than 30000 ms - removing ...
> Jun 30 10:28:10 srv-zvbod activemq: ERROR | Failed to remove inactive destination org.apache.activemq.security.AuthorizationDestinationFilter@91c406
> Jun 30 10:28:10 srv-zvbod activemq: javax.jms.JMSException: Destination still has an
active subscription: topic://ActiveMQ.Advisory.Consumer.Queue.DB.dbs-yafwc.srv-8ra75
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.region.AbstractRegion.removeDestination(AbstractRegion.java:194)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.jmx.ManagedTopicRegion.removeDestination(ManagedTopicRegion.java:62)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.region.RegionBroker.removeDestination(RegionBroker.java:363)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.advisory.AdvisoryBroker.removeDestination(AdvisoryBroker.java:225)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.security.AbstractAuthenticationBroker.removeDestination(AbstractAuthenticationBroker.java:38)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.security.AuthorizationBroker.removeDestination(AuthorizationBroker.java:129)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:177)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.MutableBrokerFilter.removeDestination(MutableBrokerFilter.java:182)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.region.RegionBroker.purgeInactiveDestinations(RegionBroker.java:907)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.broker.region.RegionBroker$1.run(RegionBroker.java:118)[activemq-broker-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)[activemq-client-5.11.1.jar:5.11.1]
> Jun 30 10:28:10 srv-zvbod activemq: #011at java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_79]
> Jun 30 10:28:10 srv-zvbod activemq: #011at java.util.TimerThread.run(Timer.java:505)[:1.7.0_79]
> as more and more of these topics are being created, I'm seeing more exceptions listed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message