You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Kevin Burton <bu...@spinn3r.com> on 2014/11/24 00:02:01 UTC

JMX shows -16 for queue size? Shows 16k before a restart...

I’m having a bug with ActiveMQ that I’m trying to track down.

Our queue server was showing that one of our queues was rather large.  It
had 16k messages and none were being processed.

We have a ‘stats’ framework that browses the queue, and takes the messages
and computes some stats from them.  This way we can see what’s in the queue
and now being processed.

But the queue browser fetched no messages.

On a hunch I thought that maybe ActiveMQ was corrupt… so I restarted it.

On restart , it now has -16 messages.  Not sure how that’s possible :)

I have no exceptions in the log… any advice? Maybe just purge/delete the
whole queue as it might be corrupt?

Kevin

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Re: JMX shows -16 for queue size? Shows 16k before a restart...

Posted by Kevin Burton <bu...@spinn3r.com>.
ha.. I actually spoke too soon.  We have 3 queues with negative queue
sizes.
There are some bugs WRT this…

https://issues.apache.org/jira/browse/AMQ-4598

… but it looks like this issue was fixed.

It’s odd that my AMQ server was at a LARGE number of messages, then on a
restart, it’s in a negative count.

VERY weird.

Any advice?


On Sun, Nov 23, 2014 at 3:02 PM, Kevin Burton <bu...@spinn3r.com> wrote:

> I’m having a bug with ActiveMQ that I’m trying to track down.
>
> Our queue server was showing that one of our queues was rather large.  It
> had 16k messages and none were being processed.
>
> We have a ‘stats’ framework that browses the queue, and takes the messages
> and computes some stats from them.  This way we can see what’s in the queue
> and now being processed.
>
> But the queue browser fetched no messages.
>
> On a hunch I thought that maybe ActiveMQ was corrupt… so I restarted it.
>
> On restart , it now has -16 messages.  Not sure how that’s possible :)
>
> I have no exceptions in the log… any advice? Maybe just purge/delete the
> whole queue as it might be corrupt?
>
> Kevin
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
>
>


-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>