Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 6597 invoked from network); 13 Oct 2006 20:24:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 20:24:48 -0000 Received: (qmail 71545 invoked by uid 500); 13 Oct 2006 20:24:48 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 71350 invoked by uid 500); 13 Oct 2006 20:24:47 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 71341 invoked by uid 99); 13 Oct 2006 20:24:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 13:24:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 13:24:45 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GYTZx-000111-8N for activemq-users@geronimo.apache.org; Fri, 13 Oct 2006 13:24:25 -0700 Message-ID: <6803253.post@talk.nabble.com> Date: Fri, 13 Oct 2006 13:24:25 -0700 (PDT) From: snacktime To: activemq-users@geronimo.apache.org Subject: Re: memory use, problems with stomp In-Reply-To: <6790388.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: snacktime@gmail.com References: <6787277.post@talk.nabble.com> <6790388.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Some more information on the problems I've been seeing with stomp. When sending messages to a queue, activemq still thinks there is a consumer connected even after it is long gone, and subscribers are then unable to read messages from the queue. I've seen phantom consumers consuming messages, and queue counts jump from the thousands to -1, -2 for no apparent reason. I'll often connect to a queue and try to read messages, and JMX will show the queue count decrement by one even though the client doesn't get anything, and then the client will just sit there forever with jmx showing thousands of messages in the queue. To make matters worse there appears to be no way to fix a queue once it's gotten into a bad state. Restarting activemq will get rid of the phantom consumer but it's impossible to read the messages from the queue. I'm also seeing something strange which could very well be my misunderstanding of how activemq works. I send 5000 messages to an empty queue then try to purge the queue in JMX with throws an exception. JMX then shows 4000 messages in the queue (what happened to the other 1000?), and when I consume the messages I get all 5000 back out, but JMX still shows one message in the queue. And sometimes purge has no effect at all, while resetstatistics clears out the queue?? It's all so strange I really have no idea how to debug it, and I'm not a java developer. -- View this message in context: http://www.nabble.com/memory-use%2C-problems-with-stomp-tf2434037.html#a6803253 Sent from the ActiveMQ - User mailing list archive at Nabble.com.