Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 37453 invoked from network); 11 Apr 2007 18:17:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2007 18:17:08 -0000 Received: (qmail 6363 invoked by uid 500); 11 Apr 2007 18:17:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 6341 invoked by uid 500); 11 Apr 2007 18:17:14 -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 6332 invoked by uid 99); 11 Apr 2007 18:17:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 11:17:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.225 as permitted sender) Received: from [66.249.82.225] (HELO wx-out-0506.google.com) (66.249.82.225) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 11:17:07 -0700 Received: by wx-out-0506.google.com with SMTP id h29so287388wxd for ; Wed, 11 Apr 2007 11:16:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aJCbhhgKSmaXR6GWdZY5v00o+7aOsYwctdoSmm5SqEuhCm8tQmrsU5DBrUbSRoRltclWn5pGuwYfEZGvTfm73T0mCf9T4Y71SyCTT4jJf7G5RCOdi9LOUKDAt3X7DGl4jbnUSvVh/7uorDLbpenoEcDtm8+i7efcK1MVlYwtefE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YJSyuZ6HK8r2DI6CV/wHT2VvaHURNjZL1IvGcWrXWXIlmALnfoHH7f3t2A4rvawF9KOD+PAh7B1FTU3XFJl+ggt5xbn5gaGPtnCu1sZDAEdZjSvHG4HzOCTOrfuMiuCEVx4FRyVYEwmUkJZSoM7Hx40sy6jKRwpRhg0nEzhPDEE= Received: by 10.90.36.17 with SMTP id j17mr934310agj.1176315407084; Wed, 11 Apr 2007 11:16:47 -0700 (PDT) Received: by 10.90.105.4 with HTTP; Wed, 11 Apr 2007 11:16:47 -0700 (PDT) Message-ID: Date: Wed, 11 Apr 2007 19:16:47 +0100 From: "James Strachan" To: dev@activemq.apache.org Subject: Re: Load Balancer configuration In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Could you run with 4.1.1 in a profiler to see where the memory is being used? Incidentally I wonder if 4.2-SNAPSHOT has this issue? On 4/11/07, Dhawan, Vikram (LNG-DAY) wrote: > I see it in AMQ4.0.1 and AMQ4.1.1 both. > > Thanks! > > Vik > > -----Original Message----- > From: James Strachan [mailto:james.strachan@gmail.com] > Sent: Wednesday, April 11, 2007 2:13 PM > To: dev@activemq.apache.org > Subject: Re: Load Balancer configuration > > On 4/11/07, Dhawan, Vikram (LNG-DAY) > wrote: > > Hi James, > > > > Thanks for your help and suggestion here. But this brings another > > concern. > > > > There is always a possibility that some one can write a client app > which > > connects to AMQ on any of the real AMQ ports (61616/61613/61617 in > > sample configuration) and disconnects the same way as Load Balancer is > > doing. And what appears to me is this will cause AMQ to throw > exceptions > > like following, and which will result AMQ going out of memory. > > That exception looks fine to me. > > ActiveMQ should be reclaiming any memory for bad connections - > exception stack traces don't use up any RAM. If you're seeing a memory > leak then its a bug. Which version do you see this in? > > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > -- James ------- http://radio.weblogs.com/0112098/