Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 55026 invoked from network); 5 Jun 2006 08:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jun 2006 08:00:16 -0000 Received: (qmail 63902 invoked by uid 500); 5 Jun 2006 08:00:16 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 63879 invoked by uid 500); 5 Jun 2006 08:00:15 -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 63870 invoked by uid 99); 5 Jun 2006 08:00:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 01:00:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 01:00:14 -0700 Received: by ug-out-1314.google.com with SMTP id m3so1317551uge for ; Mon, 05 Jun 2006 00:59:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E3s08Sc/lhsDfhtehoUfX/39JyZYVYf5Oe38mOfMWUYz5dHe7hUXSXlHxr8+ckwYMm8lZ91o17YQfalNe12T+OO6Zmd10bj8MVPHrpJwAsUNS0HWDSaS8bz0eFLiwSAtrQAMl3v8PTfd/BEUpTEzfSQB0V0eUEFH+vc7bIK3Txc= Received: by 10.67.100.17 with SMTP id c17mr3118116ugm; Mon, 05 Jun 2006 00:59:53 -0700 (PDT) Received: by 10.66.255.17 with HTTP; Mon, 5 Jun 2006 00:59:53 -0700 (PDT) Message-ID: Date: Mon, 5 Jun 2006 08:59:53 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: Slow consumer problem In-Reply-To: <4709829.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: <4709829.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N BTW are you positive you are using persistent queues? i.e. setting hte delivery mode on your MessageProducer to be persistent? On 6/5/06, Frank Baxter wrote: > > I've read through the slow consumer issues, but I still can't figure out how > to solve this problem. > > I'm using AMQ 4.0 with persistent queues. I've got several message > producers that are reading information from an external system and creating > JMS messages. They do this in bursts, sometimes with a high input rate. > The messages end up around 300K in size. I use auto-ack on these producers. > > My consumers are slow, and sometimes are not even running. I'm expecting > the JMS system to queue the messages up in the persistent storage. When my > consumers are running they will pull messages off as they can. I use > client-ack on the consumers (they are actually a chain of consumer/producers > with decision points). > > It seems that the default behavior for AMQ is to slow down my producers when > the messages queue up. Eventually (seems to be around 2500 messages) they > stop completely. This causes a problem with my initial producers because > they are also receiving inputs from the external (non JMS) system. With AMQ > they are failing because they are timing out talking to that other system. > > What I'm looking for is a way to remove that auto-slow down logic in my > producers. I want these producers to write messages as fast as possible so > I don't impact my external system. Does anyone have any ideas on how I can > achieve this with AMQ? > > BTW, I have this system implemented and working using JBoss MQ, but I'm > looking to replace it due to performance issues, especially when large > queues exist and the JBoss server restarts. > > -- > View this message in context: http://www.nabble.com/Slow-consumer-problem-t1733329.html#a4709829 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/