Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 47596 invoked from network); 18 May 2009 18:52:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 May 2009 18:52:48 -0000 Received: (qmail 82201 invoked by uid 500); 18 May 2009 18:52:48 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 82116 invoked by uid 500); 18 May 2009 18:52:47 -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 82106 invoked by uid 99); 18 May 2009 18:52:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 18:52:47 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [206.190.38.113] (HELO web50804.mail.re2.yahoo.com) (206.190.38.113) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 18 May 2009 18:52:36 +0000 Received: (qmail 28263 invoked by uid 60001); 18 May 2009 18:52:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1242672734; bh=Q4XU2exI/czSTgerCQ83PhKNT/R2MBw/mu36y8X9Nd4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Oanj9Hp5Y+0dI+SJvU5OmYBKT23I/hlugQutXCx98SvAJQulF6Y22i7E0cJmXU++UMX+YvKux+N1qPxp95Bez15Ar1uAIA8GRVPqnpRsoSfpRs2HSrna2CHKkB3swVr1uGcSiwHcAe0ySz/pZntyhMQ60qEDWq/xC2pIK4w9QfI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=m30Tgz9SB7LHYVDGcTdKkvVcCnBO5R/iAfP5LUiqBrVCgwaG9qqYG/UZatM65t2dQlkRHpjX98RoHtv4+qkMq5/pWUFFwgua04jffWAilKK+/U3qsW5skwDHGCyhxR2tdn5tkUMRvrdfGxgFuRpZtQ1jsMjl6DEU60f1h1itpHs=; Message-ID: <132968.5990.qm@web50804.mail.re2.yahoo.com> X-YMail-OSG: 4pwB2x4VM1mVOabI3.Cyx2NowFzu1pWm5tIyAKtQ2MABHYi1BiSeI_HxeRrwn06.VTevVHBdyaQuamBkJ11sAlExP2dd0iM1UyNdvPw6xqHwJ.SGHhEucEBJ7xMhgaYtOhBLoym2WoefPs.B2gmwPd6HtJV5OWNIfvjzomAWrIGb3.DatlcNfzAHasyJG5fCljtkPZSAjp_khu7jreQOleTjD5uxtkrH9SojwuF1wxdDPO_65pzUlitLCE1UmlpGV_37rLyQOAMLscNrb.C2O5DD0RHKwVQE13Avc_lzl6EbVyNFtgUfqUs.47MZXKR9_kpO Received: from [68.110.129.14] by web50804.mail.re2.yahoo.com via HTTP; Mon, 18 May 2009 11:52:13 PDT X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.10 References: <23473539.post@talk.nabble.com> <4A07BCF2.8030504@tweakers.net> <23478321.post@talk.nabble.com> <4A07D9CE.80200@tweakers.net> <23589365.post@talk.nabble.com> <4A10FA9C.30100@tweakers.net> <23592103.post@talk.nabble.com> Date: Mon, 18 May 2009 11:52:13 -0700 (PDT) From: Jose Luna Subject: Re: too many open files To: users@activemq.apache.org In-Reply-To: <23592103.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org > At this point it is clear that it is an operating system issue. Frederik is correct on this, I tested with CentOS 5. Here is an example of setting the hard and soft limit: * soft nofile 8192 * hard nofile 65535 After that: ulimit -n 8192 And you'll be set. > We were using Mysql as the persitence store but took it out thinking that may be the cause. You'll actually be better off switching back to the jdbcPersistenceAdapter if you want to reduce the number of open files. The AMQ persistence store opens a file for every queue created. JLuna