From dev-return-19919-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Thu Apr 22 14:17:58 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 97820 invoked from network); 22 Apr 2010 14:17:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 14:17:57 -0000 Received: (qmail 18923 invoked by uid 500); 22 Apr 2010 14:17:57 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 18788 invoked by uid 500); 22 Apr 2010 14:17:56 -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 18763 invoked by uid 99); 22 Apr 2010 14:17:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 14:17:56 +0000 X-ASF-Spam-Status: No, hits=-1331.1 required=10.0 tests=ALL_TRUSTED,AWL 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; Thu, 22 Apr 2010 14:17:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3MEHP2T015900 for ; Thu, 22 Apr 2010 14:17:25 GMT Message-ID: <18202971.1991271945845513.JavaMail.jira@thor> Date: Thu, 22 Apr 2010 10:17:25 -0400 (EDT) From: "Andres (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2706) Memory leak & huge thread count in broker In-Reply-To: <31835229.1981271945844185.JavaMail.jira@thor> 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-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andres updated AMQ-2706: ------------------------ Attachment: snapshot6.png snapshot7.png JMX consle > Memory leak & huge thread count in broker > ----------------------------------------- > > Key: AMQ-2706 > URL: https://issues.apache.org/activemq/browse/AMQ-2706 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.3.1 > Environment: Linux ubuntu/Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode) > Reporter: Andres > Attachments: snapshot6.png, snapshot7.png > > > I'm using request/replay pattern where client on BrokerA creates message and start listening response from temporary-queue, consumer listening on BrokerB, after getting message it sends respond back to the temporary queue. > After getting message back, client on BrokerA removes temporary queue and closes session and closes connection > Now if I take a look to the jmx then everythink is OK on BrokerA side. No hangig tmp queues no too many threads. On BrokerB every message lives hanging temporary queue and thread. Even if I shut down BrokerA there are still hanging tmp queue on brokerB and one extra thread. > Now if I send 10k messages from BrokerA there is 10K temporary quest and 10K threads on brokerA > Example setup: > | Broker A | -----> | Broker B | -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.