You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by moorsel <fr...@gmail.com> on 2015/01/23 14:50:45 UTC

Flood of topics and unconsumed messages after enable advisory message

We enabled advisory support on our ActiveMQs as we wanted to have support for
dynamic network broker topologies (Advisory messages are required for
dynamic network broker topologies as NetworkConnectors subscribe to advisory
messages). Now we see many advisory topics and in these topics many
unconsumed messages. Is there somethig we should do to prevent this or to
clean up these topics and messages (some kind of garbage collect). Is the
build up of these topcis and messages going to hinder performance at some
stage? or a memory issue?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Flood-of-topics-and-unconsumed-messages-after-enable-advisory-message-tp4690332.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Flood of topics and unconsumed messages after enable advisory message

Posted by Tim Bain <tb...@alumni.duke.edu>.
Topics only store messages for offline durable subscribers (or online
subscribers that can't keep up), so if you don't have any of those, then
you're not storing any messages for them.  Although I can't say for sure
without seeing your broker, I'd bet that the unconsumed messages are just
getting thrown away and that they aren't consuming any memory.  You can
probably confirm this by attaching JConsole, looking at the MBeans tab (to
see the JMX stats), drilling down to one of your "problem" advisory topics,
and looking at the memory usage attribute; I bet it shows 0 bytes used, and
if it does then you don't have anything to worry about.

On Fri, Jan 23, 2015 at 6:50 AM, moorsel <fr...@gmail.com>
wrote:

> We enabled advisory support on our ActiveMQs as we wanted to have support
> for
> dynamic network broker topologies (Advisory messages are required for
> dynamic network broker topologies as NetworkConnectors subscribe to
> advisory
> messages). Now we see many advisory topics and in these topics many
> unconsumed messages. Is there somethig we should do to prevent this or to
> clean up these topics and messages (some kind of garbage collect). Is the
> build up of these topcis and messages going to hinder performance at some
> stage? or a memory issue?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Flood-of-topics-and-unconsumed-messages-after-enable-advisory-message-tp4690332.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>