[ 
https://issues.apache.org/activemq/browse/AMQ-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Davies resolved AMQ-1009.
-----------------------------

    Fix Version/s: 5.1.0
                       (was: 5.2.0)
       Resolution: Fixed

> incorrect DequeueCount
> ----------------------
>
>                 Key: AMQ-1009
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1009
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.0.1
>         Environment: linux
>            Reporter: Winston Huang
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> i am seeing this through activemq (4.0.1) jmx:
> Type = Queue
> Destination = XXX
> QueueSize = 2751
> Name = XXX
> DequeueCount = 3575
> MemoryPercentageUsed = 0
> ConsumerCount = 6
> MemoryLimit = 9223372036854775807
> EnqueueCount = 3575
> and after a while, something like this:
> Destination = XXX
> QueueSize = 11421
> Name = XXX
> DequeueCount = 8046
> MemoryPercentageUsed = 0
> ConsumerCount = 6
> MemoryLimit = 9223372036854775807
> EnqueueCount = 13471
> my activemq is started with a clean database and journal. how does the math 
> add up among QueueSize, DequeueCount and EnqueueCount? i thought dequeuecount 
> + queuesize = enqueuecount. in my case, QueueSize looks more "correct" than 
> the dequeuecount is wrong because my consumers are slower than message 
> producers. 
> more info, when i shutdown my consumers, i see stats like this during one 
> test:
> Type = Queue
> Destination = XXX
> QueueSize = 948
> Name = XXX
> DequeueCount = 4224
> ConsumerCount = 0
> EnqueueCount = 2722
> why is DequeueCount greater than EnqueueCount? (the activemq instance was 
> started from a clean database and journal) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to