From users-return-8621-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Tue Apr 17 10:09:03 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 96577 invoked from network); 17 Apr 2007 10:09:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2007 10:09:03 -0000 Received: (qmail 84007 invoked by uid 500); 17 Apr 2007 10:09:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 83913 invoked by uid 500); 17 Apr 2007 10:09:08 -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 83904 invoked by uid 99); 17 Apr 2007 10:09:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 03:09:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 03:09:00 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Hdkc3-0001dC-RC for users@activemq.apache.org; Tue, 17 Apr 2007 03:08:39 -0700 Message-ID: <10032556.post@talk.nabble.com> Date: Tue, 17 Apr 2007 03:08:39 -0700 (PDT) From: Ale Sarco To: users@activemq.apache.org Subject: Re: 3.1 broker OutofMemoryError : unable to create new native thread In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ale@sarco.com.ar References: <9844430.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi James, Using ActiveMQ 4.1.1 with Spring I experienced this "unable to create new native thread" exception in one of my production servers last night. The thing is that server does not has a large messaging traffic, it just send 2 or 3 messages every couple of minutes to another webapp running in the same Tomcat, and this is only for 2 hours a day, and there were plenty of memory available on the heap for that VM. I agree that is probably related to the file descriptors that you mentioned, because when I tried to log in to that server via SSH I got an error about something like "insufficient resources". Only when I restarted the webapp I was able to login again. Now, what file descriptors is this about? Is a (logical) file created somewhere every time a message is sent? If so, how do I avoid this problem, I guess they should be reused or something? Thanks, Alex. James.Strachan wrote: > > 3.1 is ancient, you might wanna upgrade to 4.1.1 > > FWIW your issue is probably you ran out of file descriptors > > On 4/4/07, robr wrote: >> > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/3.1-broker-OutofMemoryError-%3A-unable-to-create-new-native-thread-tf3527977s2354.html#a10032556 Sent from the ActiveMQ - User mailing list archive at Nabble.com.