You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by weit <we...@yahoo.com> on 2008/08/20 06:00:35 UTC

Question about "Negative Pending Messages"

Hi all,

I'm running a network of 2 ActiveMQ brokers (ActiveMQ 5.1 btw) and my
producers are sending quite a number of messages (~300 to 500 messages per
second).  Consumers are relative fast as well in handling the messages.

However, I noticed that there are negative values in the Pending Messages
field when I access the web console admin page.

So my question is what does the negative value stand for and how should I
deal with them?

Thanks in advance!
-- 
View this message in context: http://www.nabble.com/Question-about-%22Negative-Pending-Messages%22-tp19062623p19062623.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Question about "Negative Pending Messages"

Posted by Joe Fernandez <jo...@ttmsolutions.com>.
I think you'll also see that on the JConsole, 'queuesize' is also a negative
number that matches that on the web console. See the followign thread.

http://www.nabble.com/Closing-a-consumer-create-more-messages-than-sent-to17602690.html#a17619080

Sessions/consumers were being closed immediately after committing or
acknowledging receipt of the message. So the problem was addressed by adding
a slight delay just prior to the close. This happens when using either
commits or acks.  

Hope this helps.

Joe
http://www.ttmsolutions.com

 

weit wrote:
> 
> Hi all,
> 
> I'm running a network of 2 ActiveMQ brokers (ActiveMQ 5.1 btw) and my
> producers are sending quite a number of messages (~300 to 500 messages per
> second).  Consumers are relative fast as well in handling the messages.
> 
> However, I noticed that there are negative values in the Pending Messages
> field when I access the web console admin page.
> 
> So my question is what does the negative value stand for and how should I
> deal with them?
> 
> Thanks in advance!
> 

-- 
View this message in context: http://www.nabble.com/Question-about-%22Negative-Pending-Messages%22-tp19062623p19071686.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.