activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-276) Negative "swapped in" values reported by REST API
Date Mon, 10 Dec 2012 14:15:21 GMT

    [ https://issues.apache.org/jira/browse/APLO-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527946#comment-13527946
] 

Lionel Cons commented on APLO-276:
----------------------------------

So far, this comes from one topic:

  'metrics' => {
    'consumer_count' => 4,
    'consumer_counter' => 4,
    'current_time' => '1355148372896',
    'dequeue_item_counter' => 163827,
    'dequeue_size_counter' => 271192131,
    'dequeue_ts' => '1355148372336',
    'enqueue_item_counter' => 64384,
    'enqueue_size_counter' => 101349580,
    'enqueue_ts' => '1355148372693',
    'expired_item_counter' => 0,
    'expired_size_counter' => 0,
    'expired_ts' => '1355127246434',
    'nack_item_counter' => 0,
    'nack_size_counter' => 0,
    'nack_ts' => '1355127246434',
    'producer_count' => 18,
    'producer_counter' => 18,
    'queue_items' => 0,
    'queue_size' => 0,
    'swap_in_item_counter' => 3861,
    'swap_in_size_counter' => 8107002,
    'swap_out_item_counter' => 3694,
    'swap_out_size_counter' => 8097547,
    'swapped_in_items' => -64257,
    'swapped_in_size' => -103588503,
    'swapped_in_size_max' => 4587520,
    'swapping_in_size' => 0,
    'swapping_out_size' => 0
  },

What might cause this is the way we use it: we send messages to that topic (~20 producers)
and have 2 distinct durable subscriptions, 1 getting all the messages and the other using
a selector to get only some messages.

We detected this recently so I have not much info about frequency but it happened several
times today already...
                
> 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

Mime
View raw message