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 8039AEFC9 for ; Wed, 26 Dec 2012 14:08:40 +0000 (UTC) Received: (qmail 18372 invoked by uid 500); 26 Dec 2012 14:08:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 18012 invoked by uid 500); 26 Dec 2012 14:08:39 -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 Delivered-To: moderator for users@activemq.apache.org Received: (qmail 53662 invoked by uid 99); 25 Dec 2012 08:38:20 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Tue, 25 Dec 2012 00:37:49 -0800 (PST) From: Lori To: users@activemq.apache.org Message-ID: <1356424669883-4661062.post@n4.nabble.com> Subject: C# NMS 1.5.6 client occurs handles leak problem when trying to reconnect using failover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi=EF=BC=81=20 One AMQ producer thread of My NMS v1.5.6 Client tried to send message= s to AMQ Server using the uri "failover:(tcp://serverip:61616)".=20 To test the handle leak problem, I disconnect the network and open th= e windows server 2003 task manager to check the handles num change of the process when producer is sending the messages. I find that the NMS Client process's handle num keeps increasing during failover's reconnection=20 time.Once the connection is reestablished, the handles which are opened at reconnection times will not be cleaned up until the exit of the NMS Clien= t process. How can I solve this problem? =20 -- View this message in context: http://activemq.2283324.n4.nabble.com/C-NMS-1= -5-6-client-occurs-handles-leak-problem-when-trying-to-reconnect-using-fail= over-tp4661062.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.