[
https://issues.apache.org/jira/browse/APLO-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239732#comment-13239732
]
Hiram Chirino commented on APLO-170:
------------------------------------
Please open a new issue for having the store report a total amount of disk
space currently used.
One way to tell if there really is a counter that is not being properly
decremented is to drain all your queues of messages. I would expect the
aggregate message size to go to zero in that case.
> Incorrect metrics in latest snapshot
> ------------------------------------
>
> Key: APLO-170
> URL: https://issues.apache.org/jira/browse/APLO-170
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Environment: Apollo 99-trunk-20120306.040517-2
> Reporter: Lionel Cons
>
> After running a stress test (with stomp-benchmark) on the latest Apollo
> snapshot, we get incorrect metrics via the REST API.
> Most queues are empty but we get for /dest-metrics:
> {
> 'consumer_count' => 2,
> 'consumer_counter' => 3747,
> 'current_time' => '1331811113155',
> 'dequeue_item_counter' => 1308687850,
> 'dequeue_size_counter' => '1676664197980',
> 'dequeue_ts' => '1331811112533',
> 'enqueue_item_counter' => 2903640770,
> 'enqueue_size_counter' => '2557292455212',
> 'enqueue_ts' => '1331811113155',
> 'expired_item_counter' => 0,
> 'expired_size_counter' => 0,
> 'expired_ts' => '1331811094462',
> 'nack_item_counter' => 219021,
> 'nack_size_counter' => 86391291,
> 'nack_ts' => '1331811094462',
> 'objects' => 12,
> 'producer_count' => 77,
> 'producer_counter' => 4838,
> 'queue_items' => 280614806,
> 'queue_size' => '236922566764',
> 'swap_in_item_counter' => 326917022,
> 'swap_in_size_counter' => '345397442494',
> 'swap_out_item_counter' => 610143466,
> 'swap_out_size_counter' => '583772449904',
> 'swapped_in_items' => 163303,
> 'swapped_in_size' => 88326399,
> 'swapped_in_size_max' => 819200000,
> 'swapping_in_size' => 1752840,
> 'swapping_out_size' => 1310961,
> }
> Note that queue_size=236922566764, so rough;y 220GB. OTOH, we see:
> # du -hs data/
> 9.4G data/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira