Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 27847 invoked from network); 20 Dec 2006 19:41:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2006 19:41:22 -0000 Received: (qmail 14115 invoked by uid 500); 20 Dec 2006 19:41:29 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 14098 invoked by uid 500); 20 Dec 2006 19:41:29 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 14089 invoked by uid 99); 20 Dec 2006 19:41:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2006 11:41:29 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 207.171.160.38 is neither permitted nor denied by domain of jheitmann@gmail.com) Received: from [207.171.160.38] (HELO smtp-out-2001.amazon.com) (207.171.160.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2006 11:41:19 -0800 X-Amazon-Corporate-Relay: smtp-out-2001.iad2.amazon.com X-AMAZON-TRACK: Received: from smtp-in-4103.sea5.amazon.com by smtp-out-2001.amazon.com with ESMTP (peer crosscheck: smtp-in-4103.sea5.amazon.com) Received: from ex-gate-01.ant.amazon.com (ex-gate-01.ant.amazon.com [172.20.21.33]) by smtp-in-4103.sea5.amazon.com (8.12.11/8.12.10) with ESMTP id kBKJetZF029148 for ; Wed, 20 Dec 2006 11:40:55 -0800 Received: from [10.52.15.38] ([192.168.151.119]) by ex-gate-01.ant.amazon.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Dec 2006 11:40:53 -0800 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <7990492.post@talk.nabble.com> References: <7990492.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Heitmann Subject: Re: createConsumer(Quque) Date: Wed, 20 Dec 2006 11:40:50 -0800 To: activemq-dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-OriginalArrivalTime: 20 Dec 2006 19:40:53.0295 (UTC) FILETIME=[C295D3F0:01C7246E] X-Virus-Checked: Checked by ClamAV on apache.org Recovery using the existing persistence stores is very resource intensive, and occurs by default when the queue is autovivified. You can alleviate the problem somewhat by forcing queue recovery at startup by explicitly listing the queue in your broker config: http://incubator.apache.org/activemq/configure-startup-destinations.html That will mean startup takes ages, but then the first queue consumer to join won't be so bad off. If you have large messages and a large prefetch then you might also be getting hurt by the initial prefetch burst. As a test try lowering prefetch to 1 and see if there's a performance difference. John On Dec 20, 2006, at 5:59 AM, Arboz wrote: > > I have persistent queue with a lot of messages. Size of queue is > very large. > Create consumer operation isn't accomplished for long time. > > Why it's happened? What can I do? > > Thank you. > -- > View this message in context: http://www.nabble.com/createConsumer% > 28Quque%29-tf2859903.html#a7990492 > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >