You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Daniel Pittman <da...@rimspace.net> on 2010/07/05 07:32:22 UTC
Administering an ActiveMQ / STOMP network.
G'day.
I don't know if this is the best place to ask sysadmin-focused questions about
managing ActiveMQ in production, but I couldn't find anywhere better.
Suggestions happily received.
Anyway, we have a two-site deployment of ActiveMQ running one broker at each
end, connected together to pass messages through. This is all working fine,
but it looks like some of the applications using it are doing something wrong.
Specifically, I have a topic with "13,384 Messages Enqueued", and "0 Messages
Dequeued", on the broker at both sites.
I *hope* that means "13K messages were sent to this at some point", but the
fact that it lists zero for dequeued is a bit worrysome.
Worse, I can't find anything useful in the documentation; the JavaDOC tells me
that the stats show the number of messages enqueued and dequeued, but not what
those numbers actually mean...
So, can someone help me out: is this normal, or should I panic about our
broken software?
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Re: Administering an ActiveMQ / STOMP network.
Posted by Dejan Bosanac <de...@nighttale.net>.
You can try virtual topics http://activemq.apache.org/virtual-destinations.html
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Mon, Jul 5, 2010 at 12:23 PM, Daniel Pittman <da...@rimspace.net> wrote:
> Dejan Bosanac <de...@nighttale.net> writes:
>
> Darn. That makes life harder, although I hope that I have tracked down the
> source of my trouble and resolved it in the software.
>
> Generally speaking, what would be the best approach to debugging this sort of
> "message leak" in a topic? Should I attach an arbitrary consumer and fetch
> the messages, or ... ?
>
> Regards,
> Daniel
>
>> there's no easy way to "browse" topics as they have different nature
>> than queues.
>>
>> On Mon, Jul 5, 2010 at 9:46 AM, Daniel Pittman <da...@rimspace.net> wrote:
>>> Dejan Bosanac <de...@nighttale.net> writes:
>>>
>>> [...]
>>>
>>>>> Specifically, I have a topic with "13,384 Messages Enqueued", and "0 Messages
>>>>> Dequeued", on the broker at both sites.
>>>>
>>>> this simply means that you didn't consume from these topics. What's
>>>> the number of consumers you are seeing on these topics?
>>>
>>> Aw, heck. That is what I feared. :(
>>>
>>> I have one consumer, as expected, attached to the
>>> mcollective.registration.command topic, which should be consuming those
>>> messages.
>>>
>>> I will have to look into that; something has gone wrong with the client
>>> software, and it is building up an endless collection of messages that should
>>> be processed but are not.
>>>
>>> Thanks.
>>>
>>>
>>> In general, is there any sensible way for me to review the content of the
>>> messages inside a topic? I can decode them if I can access them, but...
>>>
>>> Daniel
>>> --
>>> ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
>>> ♽ made with 100 percent post-consumer electrons
>>>
>>>
>
> --
> ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
> ♽ made with 100 percent post-consumer electrons
>
>
Re: Administering an ActiveMQ / STOMP network.
Posted by Daniel Pittman <da...@rimspace.net>.
Dejan Bosanac <de...@nighttale.net> writes:
Darn. That makes life harder, although I hope that I have tracked down the
source of my trouble and resolved it in the software.
Generally speaking, what would be the best approach to debugging this sort of
"message leak" in a topic? Should I attach an arbitrary consumer and fetch
the messages, or ... ?
Regards,
Daniel
> there's no easy way to "browse" topics as they have different nature
> than queues.
>
> On Mon, Jul 5, 2010 at 9:46 AM, Daniel Pittman <da...@rimspace.net> wrote:
>> Dejan Bosanac <de...@nighttale.net> writes:
>>
>> [...]
>>
>>>> Specifically, I have a topic with "13,384 Messages Enqueued", and "0 Messages
>>>> Dequeued", on the broker at both sites.
>>>
>>> this simply means that you didn't consume from these topics. What's
>>> the number of consumers you are seeing on these topics?
>>
>> Aw, heck. That is what I feared. :(
>>
>> I have one consumer, as expected, attached to the
>> mcollective.registration.command topic, which should be consuming those
>> messages.
>>
>> I will have to look into that; something has gone wrong with the client
>> software, and it is building up an endless collection of messages that should
>> be processed but are not.
>>
>> Thanks.
>>
>>
>> In general, is there any sensible way for me to review the content of the
>> messages inside a topic? I can decode them if I can access them, but...
>>
>> Daniel
>> --
>> ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
>> ♽ made with 100 percent post-consumer electrons
>>
>>
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Re: Administering an ActiveMQ / STOMP network.
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Daniel,
there's no easy way to "browse" topics as they have different nature
than queues.
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Mon, Jul 5, 2010 at 9:46 AM, Daniel Pittman <da...@rimspace.net> wrote:
> Dejan Bosanac <de...@nighttale.net> writes:
>
> [...]
>
>>> Specifically, I have a topic with "13,384 Messages Enqueued", and "0 Messages
>>> Dequeued", on the broker at both sites.
>>
>> this simply means that you didn't consume from these topics. What's
>> the number of consumers you are seeing on these topics?
>
> Aw, heck. That is what I feared. :(
>
> I have one consumer, as expected, attached to the
> mcollective.registration.command topic, which should be consuming those
> messages.
>
> I will have to look into that; something has gone wrong with the client
> software, and it is building up an endless collection of messages that should
> be processed but are not.
>
> Thanks.
>
>
> In general, is there any sensible way for me to review the content of the
> messages inside a topic? I can decode them if I can access them, but...
>
> Daniel
> --
> ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
> ♽ made with 100 percent post-consumer electrons
>
>
Re: Administering an ActiveMQ / STOMP network.
Posted by Daniel Pittman <da...@rimspace.net>.
Dejan Bosanac <de...@nighttale.net> writes:
[...]
>> Specifically, I have a topic with "13,384 Messages Enqueued", and "0 Messages
>> Dequeued", on the broker at both sites.
>
> this simply means that you didn't consume from these topics. What's
> the number of consumers you are seeing on these topics?
Aw, heck. That is what I feared. :(
I have one consumer, as expected, attached to the
mcollective.registration.command topic, which should be consuming those
messages.
I will have to look into that; something has gone wrong with the client
software, and it is building up an endless collection of messages that should
be processed but are not.
Thanks.
In general, is there any sensible way for me to review the content of the
messages inside a topic? I can decode them if I can access them, but...
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Re: Administering an ActiveMQ / STOMP network.
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Daniel,
this simply means that you didn't consume from these topics. What's
the number of consumers you are seeing on these topics?
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Mon, Jul 5, 2010 at 7:32 AM, Daniel Pittman <da...@rimspace.net> wrote:
> G'day.
>
> I don't know if this is the best place to ask sysadmin-focused questions about
> managing ActiveMQ in production, but I couldn't find anywhere better.
> Suggestions happily received.
>
>
> Anyway, we have a two-site deployment of ActiveMQ running one broker at each
> end, connected together to pass messages through. This is all working fine,
> but it looks like some of the applications using it are doing something wrong.
>
> Specifically, I have a topic with "13,384 Messages Enqueued", and "0 Messages
> Dequeued", on the broker at both sites.
>
> I *hope* that means "13K messages were sent to this at some point", but the
> fact that it lists zero for dequeued is a bit worrysome.
>
>
> Worse, I can't find anything useful in the documentation; the JavaDOC tells me
> that the stats show the number of messages enqueued and dequeued, but not what
> those numbers actually mean...
>
>
> So, can someone help me out: is this normal, or should I panic about our
> broken software?
>
> Daniel
> --
> ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
> ♽ made with 100 percent post-consumer electrons
>
>