Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51A0FD299 for ; Fri, 14 Dec 2012 17:40:15 +0000 (UTC) Received: (qmail 51913 invoked by uid 500); 14 Dec 2012 17:40:15 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 51823 invoked by uid 500); 14 Dec 2012 17:40:14 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 51789 invoked by uid 99); 14 Dec 2012 17:40:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 17:40:12 +0000 Date: Fri, 14 Dec 2012 17:40:12 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APLO-276) Negative "swapped in" values reported by REST API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532484#comment-13532484 ] Hiram Chirino commented on APLO-276: ------------------------------------ Hi Lionel, I've tried setting up a test case /w 2 durable subs on a topic, 1 durable sub selecting only 1/2 the messages produced to it. Then I produce a large number of messages to the queues to cause swapping to occur. Then I drain those durable subs and the swapped in size goes to 0 as expected. What version of the broker are you using? > Negative "swapped in" values reported by REST API > ------------------------------------------------- > > Key: APLO-276 > URL: https://issues.apache.org/jira/browse/APLO-276 > Project: ActiveMQ Apollo > Issue Type: Bug > Reporter: Lionel Cons > > Apollo sometimes report negative values for the "swapped in" messages. Querying /dest-metrics via REST I can currently see: > { > 'consumer_count' => 5, > 'consumer_counter' => 49, > 'current_time' => '1355129045937', > 'dequeue_item_counter' => 46637, > 'dequeue_size_counter' => 76516044, > 'dequeue_ts' => '1355129045564', > 'enqueue_item_counter' => 12278, > 'enqueue_size_counter' => 19169564, > 'enqueue_ts' => '1355129045698', > 'expired_item_counter' => 0, > 'expired_size_counter' => 0, > 'expired_ts' => '1355128842177', > 'nack_item_counter' => 0, > 'nack_size_counter' => 0, > 'nack_ts' => '1355128842177', > 'objects' => 11, > 'producer_count' => 54, > 'producer_counter' => 142, > 'queue_items' => 0, > 'queue_size' => 0, > 'swap_in_item_counter' => 7722, > 'swap_in_size_counter' => 16214004, > 'swap_out_item_counter' => 7011, > 'swap_out_size_counter' => 15197687, > 'swapped_in_items' => -6046, > 'swapped_in_size' => -9274521, > 'swapped_in_size_max' => 9175040, > 'swapping_in_size' => 0, > 'swapping_out_size' => 0 > }; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira