From dev-return-21410-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Fri Aug 06 01:37:18 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 87394 invoked from network); 6 Aug 2010 01:37:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Aug 2010 01:37:18 -0000 Received: (qmail 39648 invoked by uid 500); 6 Aug 2010 01:37:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 39623 invoked by uid 500); 6 Aug 2010 01:37:18 -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 39612 invoked by uid 99); 6 Aug 2010 01:37:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 01:37:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 01:37:17 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o761avhk022322 for ; Fri, 6 Aug 2010 01:36:57 GMT Message-ID: <14856149.57431281058617303.JavaMail.jira@thor> Date: Thu, 5 Aug 2010 21:36:57 -0400 (EDT) From: "Marcin Giedz (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2657) temp-queue - no producer, no consumer -> messagecount In-Reply-To: <359008225.17331268950426346.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61033#action_61033 ] Marcin Giedz commented on AMQ-2657: ----------------------------------- Hi Rob, First of all I didn't get any notification regarding your comment so could react faster. But anyway... 1. What's the option in 5.4 for garbage unused destinations ? 2. Regarding messages types: well I'm not a programmer but we use AMQ for Order management System -> so we're sending "orders", "transactions" to and from exchanges. So rather text messages max 1k -> is there a way to "mirror" messages to so exactly what is being sent? 3. We have now simple script in jruby to "clean" "unconnected" temp-queues" so in 5.3.2 there is still this problem. I can test 5.4 if there is some relevant change to provide latest update if you need? > temp-queue - no producer, no consumer -> messagecount > ------------------------------------------------------ > > Key: AMQ-2657 > URL: https://issues.apache.org/activemq/browse/AMQ-2657 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.1 > Reporter: Marcin Giedz > Assignee: Rob Davies > Fix For: 5.4.1 > > Attachments: activemq.xml, jms1.png, jms2.png, jms3.png > > > HI, > I tried the latest snapshot 12.03.2010, several producers and consumers. No matter what I change in activemq.xml file I always end up with memorylimit and broker is "frozen". However today I found one really strange thing. Maybe this is something wrong with what JMX says but: several temp-queues with ConsumerCount=0, ProducerCount=0 but EnqueueCount was getting up and up and Dequeue was 0 all the time . This way MemoryPercentageUsage got to 100% and AMQ said again something like this: > 2010-03-16 15:02:28,455 | INFO | Usage Manager Memory Limit reached on temp-queue://e0499daa-604e-227c-57c5-8a700a83d690:0. Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.region.Queue | ActiveMQ Transport: tcp:///127.0.0.1:46737 > My config file is attached. All producers and consumers use CMS -3.0.1. and 3.1.1. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.