activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: blocking on UsageManager.waitForSpace
Date Thu, 21 Dec 2006 15:16:11 GMT
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 <basistrdr@hotmail.com> 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/

Mime
View raw message