Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F9CB8C9F for ; Wed, 24 Aug 2011 14:06:55 +0000 (UTC) Received: (qmail 34951 invoked by uid 500); 24 Aug 2011 14:06:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 34327 invoked by uid 500); 24 Aug 2011 14:06:52 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 34180 invoked by uid 99); 24 Aug 2011 14:06:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 14:06:52 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 14:06:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0FF8FCD4CE for ; Wed, 24 Aug 2011 14:06:29 +0000 (UTC) Date: Wed, 24 Aug 2011 14:06:29 +0000 (UTC) From: "Marcin Depinski (JIRA)" To: dev@activemq.apache.org Message-ID: <1480813108.9307.1314194789045.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMQ-3472) Negative number of pending messages in broker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Negative number of pending messages in broker --------------------------------------------- Key: AMQ-3472 URL: https://issues.apache.org/jira/browse/AMQ-3472 Project: ActiveMQ Issue Type: Bug Components: Broker Affects Versions: 5.5.0 Environment: RHEL 5.5, Sun Java 1.6.0_21, Tomcat 6, Synchronous message consumers, 10k messages per consumer prefetch, 2-10 million messages a day, in-container broker. Reporter: Marcin Depinski After the purge and deletion of a queue and a restart of the broker, the broker shows a negative number of pending messages. Similar to AMQ-1693. Seen this at least a dozen times in our environment. Another restart with no messages pending and no consumers will zero the counter correctly but we can't be restarting our app every time this happens. Things still seem to work after the counter goes negative but if anything inside ActiveMQ is counting on this counter being correct well... let me know if I can help -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira