Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A229C928B for ; Wed, 20 Jun 2012 19:01:19 +0000 (UTC) Received: (qmail 57089 invoked by uid 500); 20 Jun 2012 19:01:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 57059 invoked by uid 500); 20 Jun 2012 19:01:19 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 57051 invoked by uid 99); 20 Jun 2012 19:01:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 19:01:19 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of apveitas@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 19:01:12 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1ShQ95-0005AU-RU for users@activemq.apache.org; Wed, 20 Jun 2012 12:00:51 -0700 Date: Wed, 20 Jun 2012 12:00:51 -0700 (PDT) From: patsfan To: users@activemq.apache.org Message-ID: <1340218851835-4653409.post@n4.nabble.com> Subject: Negative Queue Size in 5.3.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, We are running into a case where our queue size is < 0 via both the webconsole and via jmx in 5.3.2. Here is our scenario: VM1: looping 5000 times, each time pushing a message into a queue VM2: listening on the queue (1 listener) and processing the messages VM2: responds to a REST call by purging messages from the queue by a particular property (QueueViewMBean.removeMatchingMessages(...)). After calling QueueViewMBean.removeMatchingMessages(...) (deletes > 1K messages from the queue) the queue size goes negative. Saw a few posts that are related, but they go back a few years with no clear resolution. Has anyone seen this? Please let me know if you need additional information, would gladly supply. Thanks in advance, Al -- View this message in context: http://activemq.2283324.n4.nabble.com/Negative-Queue-Size-in-5-3-2-tp4653409.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.