Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 69914 invoked from network); 4 Mar 2010 19:24:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 19:24:39 -0000 Received: (qmail 3968 invoked by uid 500); 4 Mar 2010 19:24:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3943 invoked by uid 500); 4 Mar 2010 19:24:28 -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 3935 invoked by uid 99); 4 Mar 2010 19:24:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 19:24:28 +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 (nike.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 19:24:18 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NnGeL-0005kM-4T for users@activemq.apache.org; Thu, 04 Mar 2010 11:23:57 -0800 Message-ID: <27785372.post@talk.nabble.com> Date: Thu, 4 Mar 2010 11:23:57 -0800 (PST) From: freders To: users@activemq.apache.org Subject: Re: ActiveMQ doesn't close connections In-Reply-To: <36e91d9d1003040930v4d1531acha74b201ad9dce876@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: federico@linuxspot.com.ar References: <27783008.post@talk.nabble.com> <36e91d9d1003040930v4d1531acha74b201ad9dce876@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Dejan, I'll post the problem on Jira, but I don't have any test case. The web application is really big, so I don't think I'm able to create one. Could you give some hints about what I should close on the message consumer side? Or should I close also something in the message listener part? Regards, Dejan Bosanac wrote: >=20 > Hi, >=20 > we didn't here about this problem before. Can you raise a Jira for it, an= d > preferably provide a test case? >=20 > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb >=20 > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net >=20 >=20 > On Thu, Mar 4, 2010 at 5:18 PM, freders wrote= : >=20 >> >> 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 ActiveM= Q >> 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 | gre= p >> :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 solve= d? >> >> Thanks in advance, >> >> -- >> View this message in context: >> http://old.nabble.com/ActiveMQ-doesn%27t-close-connections-tp27783008p27= 783008.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >=20 >=20 > ----- > Dejan Bosanac >=20 > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net >=20 --=20 View this message in context: http://old.nabble.com/ActiveMQ-doesn%27t-clos= e-connections-tp27783008p27785372.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.