From activemq-users-return-4886-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Fri Oct 06 00:55:17 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 11359 invoked from network); 6 Oct 2006 00:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 00:55:17 -0000 Received: (qmail 79458 invoked by uid 500); 6 Oct 2006 00:55:16 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 79432 invoked by uid 500); 6 Oct 2006 00:55:16 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 79423 invoked by uid 99); 6 Oct 2006 00:55:16 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 17:55:16 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=chirino@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [72.14.214.238] ([72.14.214.238:8223] helo=hu-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 64/4F-04543-F69A5254 for ; Thu, 05 Oct 2006 17:55:13 -0700 Received: by hu-out-0506.google.com with SMTP id 34so357500hui for ; Thu, 05 Oct 2006 17:55:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=IaNB8BNGAK9a9q9OTa7b/x8FQxBpQzBoywGfBs7hXL5ChRdo/hRriTxvt/J/qcQzcYhfuU5H5yvRaSKaMMkSBNszSB20LGofuVWokQS6g6FHBqCM/m2CjI3omn0xLbI+mwrLCKOzMy/51v10Q6tCeUVJ5ljedjvcKm28r5OFQVg= Received: by 10.78.97.7 with SMTP id u7mr1057903hub; Thu, 05 Oct 2006 17:55:07 -0700 (PDT) Received: by 10.78.142.5 with HTTP; Thu, 5 Oct 2006 17:55:07 -0700 (PDT) Message-ID: Date: Thu, 5 Oct 2006 20:55:07 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: Exception while long haul tests In-Reply-To: <6653957.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6653957.post@talk.nabble.com> X-Google-Sender-Auth: bba7e3598027e560 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You'll have to run it under a profiler and send us a memory snapshot. I prefer yourkit or jprofiler since I've got a copy. On 10/5/06, Shamli wrote: > > I am doing long haul tests, and i'm sending 30 messages per second for a > duration of 1 hour. After exceuting 14000 messages i got this exception in > catalina.out. What could be causing this exception? > I m using ActiveMQ 4.0.1. > > Exception in thread "ActiveMQ Session Task" java.lang.OutOfMemoryError: > unable to create new native thread > at java.lang.Thread.start0(Native Method) > at java.lang.Thread.start(Thread.java:574) > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:461) > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:861) > at > org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:130) > at > org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:25) > at > org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > at java.lang.Thread.run(Thread.java:595) > 5 Oct, 2006 12:55:35 PM > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run > SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new > native thread) executing > org.apache.tomcat.util.net.LeaderFollowerWorkerThread@28576b, terminating > thread > > -- > View this message in context: http://www.nabble.com/Exception-while-long-haul-tests-tf2386912.html#a6653957 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com