Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 95760 invoked from network); 4 Mar 2010 16:19:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 16:19:29 -0000 Received: (qmail 26020 invoked by uid 500); 4 Mar 2010 16:19:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25981 invoked by uid 500); 4 Mar 2010 16:19:18 -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 25970 invoked by uid 99); 4 Mar 2010 16:19:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 16:19:18 +0000 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 (athena.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; Thu, 04 Mar 2010 16:19:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NnDlB-0007NQ-QD for users@activemq.apache.org; Thu, 04 Mar 2010 08:18:49 -0800 Message-ID: <27783008.post@talk.nabble.com> Date: Thu, 4 Mar 2010 08:18:49 -0800 (PST) From: freders To: users@activemq.apache.org Subject: ActiveMQ doesn't close connections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: federico@linuxspot.com.ar Hello to everyone, I'm using Apache 2, Tomcat 6 and ActiveMQ 5.2.0. I'm using request-reply messages mode. ActiveMQ works well except that it doesn't close the ESTABLISHED connections. So, after a couple of hours running, there are not available file descriptors left to accept new connections due to ActiveMQ doesn't close them. After an object sends a message to other application, some resources are released like in this piece of code: session.close(); tmpQueue.delete(); connection.close(); responseConsumer.close(); producer.close(); The info gathered by the command 'netstat -natp | grep ESTABLISHED | grep :61617' (ssl connector) shows me the number of established connections, which is huge after a couple of hours. =C2=BFHave anyone had a problem like this? If so, =C2=BFhow was it solved? Thanks in advance, --=20 View this message in context: http://old.nabble.com/ActiveMQ-doesn%27t-clos= e-connections-tp27783008p27783008.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.