Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 41483 invoked from network); 2 Aug 2006 06:21:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 06:21:08 -0000 Received: (qmail 82642 invoked by uid 500); 2 Aug 2006 06:21:07 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 82620 invoked by uid 500); 2 Aug 2006 06:21:07 -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 82611 invoked by uid 99); 2 Aug 2006 06:21:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 23:21:07 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 23:21:05 -0700 Received: by nf-out-0910.google.com with SMTP id n29so539004nfc for ; Tue, 01 Aug 2006 23:20:44 -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=hr39rXZkWYGkGwBpLvQqLKJG5ON90zdjQlpeX5n20fcoz3ciBQ8a+OCCY2QhM9aZfb+AAicFjLQN3n3ZC8Jv5NfDwvqquE8n18z3CS5iW9VN5gucv62MN34O5kVCU/rd3hhNz+bkoMpCxj4qYJsgd1iDMToS6Or2Qxlfe9CzUvg= Received: by 10.78.177.3 with SMTP id z3mr162881hue; Tue, 01 Aug 2006 23:20:44 -0700 (PDT) Received: by 10.78.174.8 with HTTP; Tue, 1 Aug 2006 23:20:43 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 07:20:43 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: very slow consumer cpu 100% In-Reply-To: <5601917.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: <5596704.post@talk.nabble.com> <5597125.post@talk.nabble.com> <5601917.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 On 8/1/06, shital wrote: > > i tried sleep(..) but that is not helping me, the main thing is rate is so > high that if i put delay then i can not see Table updating. Just throttle the rates via sleeping; so you only actually update the table a few times a second for low CPU boxes and allow the throttle rate to be larger for faser boxes. Given the rate and the fact that you are writing a rich client, why is high CPU usage such a concern? -- James ------- http://radio.weblogs.com/0112098/