Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCDB6119ED for ; Wed, 9 Jul 2014 10:33:53 +0000 (UTC) Received: (qmail 72203 invoked by uid 500); 9 Jul 2014 10:33:53 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 72160 invoked by uid 500); 9 Jul 2014 10:33:53 -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 72149 invoked by uid 99); 9 Jul 2014 10:33:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 10:33:53 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 10:33:48 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1X4pBP-0001z1-4x for users@activemq.apache.org; Wed, 09 Jul 2014 03:33:03 -0700 Date: Wed, 9 Jul 2014 03:32:48 -0700 (PDT) From: danielstraub To: users@activemq.apache.org Message-ID: <1404901968134-4683014.post@n4.nabble.com> Subject: ActiveMQResourceAdapter leaves connections open until the next full GC MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org At the activemq server we have every day up to 700 open connections from a consumer/producer running in JBoss-EAP 6.2 with ActiveMQ-RA 5.9. After a full garbage collection, the connection count shrinks. (just now we have only a full gc per day !) The ActiveMQResourceAdapter.getXAResources creates every time a new connection, which will be closed during garbage collection. Unfortunately, the JBoss XA-Recovery process calls this method every 2-3 minutes. Is there a way not to participate in the XA recovery (without changing the transaction-support attribute in ra.xml) ? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQResourceAdapter-leaves-connections-open-until-the-next-full-GC-tp4683014.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.