Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 93992 invoked from network); 12 Jun 2009 06:10:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 06:10:53 -0000 Received: (qmail 131 invoked by uid 500); 12 Jun 2009 06:11:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 99968 invoked by uid 500); 12 Jun 2009 06:11:03 -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 99958 invoked by uid 99); 12 Jun 2009 06:11:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 06:11:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 06:10:52 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MEzyC-0007E5-1S for users@activemq.apache.org; Thu, 11 Jun 2009 23:10:32 -0700 Message-ID: <23993379.post@talk.nabble.com> Date: Thu, 11 Jun 2009 23:10:32 -0700 (PDT) From: Francois Staes To: users@activemq.apache.org Subject: Inconsistency between queue length and queue browsing MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19257_20717449.1244787032040" X-Nabble-From: fstaes@netconsult.be X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19257_20717449.1244787032040 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I'm facing an inconsistency in the behaviour of ActiveMQ for which I cannot find an easy explanation. The facts: $ ./activemq-admin query -QQueue=provRequests1 DequeueCount = 0 Name = provRequests1 MinEnqueueTime = 259749107 CursorMemoryUsage = 2905853 MaxAuditDepth = 2048 Destination = provRequests1 AverageEnqueueTime = 2.650460257689655E8 InFlightCount = 0 MemoryLimit = 67108864 Type = Queue EnqueueCount = 0 MaxEnqueueTime = 771219376 MemoryUsagePortion = 1.0 ProducerCount = 0 UseCache = true MaxProducersToAudit = 1024 CursorFull = false BrokerName = localhost ConsumerCount = 0 ProducerFlowControl = true Subscriptions = [Ljavax.management.ObjectName;@8e4327 QueueSize = 7778 MaxPageSize = 200 CursorPercentUsage = 4 MemoryPercentUsage = 4 DispatchCount = 1160 So, there are 7778 messages on the queue. On the other hand: $ ./activemq-admin browse --amqurl tcp://localhost:61616 provRequests1 | grep JMSMessageID |wc 517 1551 47045 Implying there are only 517 messages on the queue. How to explain this difference ? Environment: - ActiveMQ 5.1.0 or 5.2.0 (same behaviour in both) - Default persistency setup Regards, Francois Staes. -- View this message in context: http://www.nabble.com/Inconsistency-between-queue-length-and-queue-browsing-tp23993379p23993379.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_19257_20717449.1244787032040--