Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 42990 invoked from network); 1 Oct 2009 16:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 16:05:57 -0000 Received: (qmail 88143 invoked by uid 500); 1 Oct 2009 16:05:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 88100 invoked by uid 500); 1 Oct 2009 16:05:57 -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 88090 invoked by uid 99); 1 Oct 2009 16:05:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 16:05:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jamiemccrindle@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 16:05:46 +0000 Received: by ewy25 with SMTP id 25so342173ewy.45 for ; Thu, 01 Oct 2009 09:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=o5HQtuyIUeTrE1mNXuOkxBRZEkHCuSDobtYFvuToLs0=; b=Tw1vwqzIEtNeR+ery63N38hktHZ/PFtuN31CIRurQjttk/wfVB8JXJTXNS62uQGfe5 ySYQhNmXicOppb7RY7RehioDqyURkL3pFHhRXf7XwZC4IEnn69sorjVDv0YxTkCGt68v nZ8DZ3+iOP78BWTbFJhdr/5JZy3bIP/vbY6ss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=U6YDU3GiB9WzCnmAA9DWZ+kxvkZyLq+JWq6HSdX8s+xZ0gWRnVjH0jJIYfIpSPxew1 y4XCmNw0B9PPzJq/PoagYNJczKzpErBPcSHCzU8k8B22dREcG7uKSGOmPVclOz2UoHtg FPlKUttkccFQjkS8J86jOW7lLaDs++aEXPYHw= MIME-Version: 1.0 Received: by 10.216.21.138 with SMTP id r10mr315298wer.3.1254413126150; Thu, 01 Oct 2009 09:05:26 -0700 (PDT) In-Reply-To: <7b3355cb0910010726s1608b028t98f59bb696d46b67@mail.gmail.com> References: <4e6f67720910010413q60ecb9dcsaf23efacf4528381@mail.gmail.com> <7b3355cb0910010648n3a009ec2ndac9bfbeb09c405f@mail.gmail.com> <4e6f67720910010657v7bf5b467vf8dbd9dec038b6bc@mail.gmail.com> <7b3355cb0910010726s1608b028t98f59bb696d46b67@mail.gmail.com> Date: Thu, 1 Oct 2009 17:05:26 +0100 Message-ID: <4e6f67720910010905m7edf66c3je633d147e3ac7c20@mail.gmail.com> Subject: Re: ActiveMQ 5.2 OutOfMemoryError: unable to create new native thread From: Jamie McCrindle To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Bruce, > Well, if that's the case, then those reconnect messages might be part > of the issue. Why would the producers be disconnected so often? Having had a look at the FailoverTransport source, it doesn't look like that log message is necessarily bad, so I think red herring there. Yeah, I'm wondering that as well. I'll see if I can do a little more investigation... see if I can reproduce it in a different environment. On Thu, Oct 1, 2009 at 3:26 PM, Bruce Snyder wrote: > On Thu, Oct 1, 2009 at 7:57 AM, Jamie McCrindle > wrote: >> Hi Bruce, >> >> Thanks for the response. Looking at JVM options is definitely a way to >> go but I have a suspicion that that would be treating the symptoms. We >> really don't have many destinations. The setup should _theoretically_ >> keep the number of connections low (pooledconnection factory for >> producers, CACHE_CONSUMER in the consumers) but it looks like >> something is generating a _lot_ connections regardless. The >> FailoverTransport.doReconnect messages are suspicious but I don't know >> for sure that they're bad... > > Well, if that's the case, then those reconnect messages might be part > of the issue. Why would the producers be disconnected so often? > > Bruce > -- > perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E );' > > ActiveMQ in Action: http://bit.ly/2je6cQ > Blog: http://bruceblog.org/ > Twitter: http://twitter.com/brucesnyder >