Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 11348 invoked from network); 23 Feb 2007 06:06:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 06:06:31 -0000 Received: (qmail 36217 invoked by uid 500); 23 Feb 2007 06:06:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 35980 invoked by uid 500); 23 Feb 2007 06:06: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 Received: (qmail 35971 invoked by uid 99); 23 Feb 2007 06:06:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 22:06:39 -0800 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 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nf-out-0910.google.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 22:06:28 -0800 Received: by nf-out-0910.google.com with SMTP id y38so771183nfb for ; Thu, 22 Feb 2007 22:06:07 -0800 (PST) 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=A6you5FKu8xz7tzCgAwL4ddoXgQycfh5NbR9GfZwFiJC/0x4jC0a/6Do10bEIMumPEIYwh83rZ2/8qmowOdM6rpRcifgNtnZWawZuNysmUg+8LzXR606cpONEsWGdbpXgznmqYdgkyfLKu/idSNE9P9CEp0WdSvbNVOmW4rYVs0= 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=pGR6J4SFyb5ovZ940VtqAd9M9mhbz2zfh7xz6BZBIVYfBrI/B7e7fPEO50Mg0xuyIJSpfvXtZ022I1lHYTEaUScnt6CUYrpGWEP7I/G+oHEvtFdykDb7rof7JVIT8e4TNqzM7wYgWgE10T77MYeeiA5GXw0MhfA2cnmC0pFV7zg= Received: by 10.78.138.6 with SMTP id l6mr129408hud.1172210767437; Thu, 22 Feb 2007 22:06:07 -0800 (PST) Received: by 10.78.155.7 with HTTP; Thu, 22 Feb 2007 22:06:07 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2007 06:06:07 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Memory usage increase after client power failure In-Reply-To: <200702220627.17159.tomtor@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9014365.post@talk.nabble.com> <9088099.post@talk.nabble.com> <200702220627.17159.tomtor@xs4all.nl> X-Virus-Checked: Checked by ClamAV on apache.org Many thanks for catching this Tom - patch applied in trunk. Eric - do you want to try buiding the 4.2-trunk and seeing if this fixes your issue? http://activemq.apache.org/source.html On 2/22/07, Tom Vijlbrief wrote: > Op woensdag 21 februari 2007 21:05, schreef eccrowe: > > > It should also be noted that after a client power off, the remaining active > > clients very quickly stop receiving their messages. Server logs still > > appear to be sending messages but the enqueue count is not increasing in > > the jmx-console and eventually the server logs stop logging send events as > > well. All of this with jmx-console indicating 0 memory usage. > > > > Are there any default settings which have changed or have been added > > between 4.0-RC2 and 4.1 which may be causing these additional issues? > > > > There is (was) a problem with dying (Stomp) clients for which > I created a patch: > > https://issues.apache.org/activemq/secure/attachment/15322/patchInactivityMonitor.txt > > This could be related to your problem... > > ================ > The InactivityMonitor code reads: > > public void onException(IOException error) { > if( monitorStarted.get() ) { stopMonitorThreads(); > getTransportListener().onException(error); } > } > > So if monitorStarted is false the EOFException is completely ignored > and not propagated to higher layers! > > I assume it should be: > > public void onException(IOException error) { > if( monitorStarted.get() ) { stopMonitorThreads(); } > getTransportListener().onException(error); // tom.vijlbrief > } > ============== > > > > Tom > -- James ------- http://radio.weblogs.com/0112098/