activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey (JIRA)" <>
Subject [jira] [Commented] (AMQ-1940) Negative queue size (reproducible)
Date Wed, 11 Feb 2015 11:33:12 GMT


Sergey  commented on AMQ-1940:

What I can see in JMX using Hawtio:
Total dequeue count 2474137
Total enqueue count 1795563
Total message count -678584

BTW, I have camel route within broker, where incoming messages are duplicated in two queues.
And, at the moment, web console displays something like:

|highwayQueue|0|0|	0|

Last one is inbound queue, algoxxx are outbound. I expect that number of enqueued messages
for inbound Q should be equal to number of dequeued. But its always zero.

> Negative queue size (reproducible)
> ----------------------------------
>                 Key: AMQ-1940
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>         Environment: Found on Windows but reproduced under Linux
>            Reporter: Vadim Chekan
>            Assignee: Rob Davies
>            Priority: Critical
>             Fix For: 5.3.0
>         Attachments:, Picture 6.png,
> When you "purge" queue from web admin console, it zeroes queue message
> counter. But if you have an active consumer at that time which
> pre-fetched messages than your consumer will keep sending ack as it
> process messages from its buffer. ActiveMQ will keep decrement counter
> upon receiving each ack. So when consumer is done queue will show
> MINUS<consumer buffer size>.

This message was sent by Atlassian JIRA

View raw message