Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 33917 invoked from network); 21 Dec 2006 15:16:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Dec 2006 15:16:36 -0000 Received: (qmail 23496 invoked by uid 500); 21 Dec 2006 15:16:42 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 23474 invoked by uid 500); 21 Dec 2006 15:16:42 -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 23465 invoked by uid 99); 21 Dec 2006 15:16:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2006 07:16:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 209.85.132.245 as permitted sender) Received: from [209.85.132.245] (HELO an-out-0708.google.com) (209.85.132.245) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2006 07:16:32 -0800 Received: by an-out-0708.google.com with SMTP id b36so755370ana for ; Thu, 21 Dec 2006 07:16:12 -0800 (PST) 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=k/fwDjE20asRgqiqStyUrCDOUT/uxpJ1me3u2SeAJgD70HygBqVU+xc8LL9IQdJur+CrLnTkc9rLyh9BJGmUDsEjn5laQOAzCbiUjDNSyFx6c3oeZsK1FvmCedivBls/2gmwZIF65NwMS2qQhlR8XSae5/BYlauecYgV/fiwJB0= Received: by 10.78.201.10 with SMTP id y10mr678003huf.1166714171389; Thu, 21 Dec 2006 07:16:11 -0800 (PST) Received: by 10.78.155.6 with HTTP; Thu, 21 Dec 2006 07:16:11 -0800 (PST) Message-ID: Date: Thu, 21 Dec 2006 15:16:11 +0000 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: blocking on UsageManager.waitForSpace In-Reply-To: <8009086.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: <8009086.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org It does sound like its full. What are the stats from jconsole? BTW when things are blocked you've typically got a slow consumer. On 12/21/06, stevec wrote: > > ActiveMQ is blocking on UsageManager.waitForSpace. Originally I had set the > Broker MemoryLimit to 20MB and I noticed in jconsole when it failed, that > the memorypercentageused was almost 50%. I then decided to increase that > number to 100MB. ActiveMQ blocked again (failing), i investigated the new > memorypercentageused and it was at 10%. So it seems that the UsageManager > is failing at about 10MB? > > What would cause the UsageManager to block when the memorylimit is at 100MB > and the memorypercentageused is only 10%? See callstack: > > Name: Thread-1 > State: WAITING on java.lang.Object@7dc1961 > Total blocked: 211,303 Total waited: 370,008 > > Stack trace: > java.lang.Object.wait(Native Method) > java.lang.Object.wait(Object.java:485) > org.apache.activemq.memory.UsageManager.waitForSpace(UsageManager.java:91) > org.apache.activemq.broker.region.Topic.send(Topic.java:239) > org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:292) > org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:380) > org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:193) > org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126) > org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:98) > org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:136) > org.apache.activemq.broker.AbstractConnection.processMessage(AbstractConnection.java:434) > org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:604) > org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:238) > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:63) > org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:95) > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65) > org.apache.activemq.transport.vm.VMTransport.syncOneWay(VMTransport.java:96) > org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:83) > org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:43) > - locked java.lang.Object@17e243f7 > org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60) > org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1126) > org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1546) > org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:465) > org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:415) > org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:177) > ..... my app is trying to publish to a topic .......... > > -- > View this message in context: http://www.nabble.com/blocking-on-UsageManager.waitForSpace-tf2865932.html#a8009086 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/