activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully" <gary.tu...@gmail.com>
Subject Re: Queue repeatedly stalls
Date Fri, 12 Dec 2008 11:41:52 GMT
This looks like producer flow control.

see: http://activemq.apache.org/slow-consumer-handling.html
and in particular  turn off flow control:
http://activemq.apache.org/producer-flow-control.html

Are you seeing this with the vanilla producer and consumer scripts
from the examples?


2008/12/11 trevoro <trevoro@gmail.com>:
>
> I see this same problem. I'm using ActiveMQ 5.2.0 and  Sun JDK1.6.0_02.
>
> When we try and post a large number of messages to a Queue it stalls after
> 4096 messages. If I leave the publisher running and flush the queue, it will
> receive a few hundred more messages prior to stalling again. This issue does
> not occur on ActiveMQ 5.1.0.
>
> Increasing the queue memory limit to 20mb allows me to put 10,000 messages
> through in a couple seconds, however attempting to put more messages through
> the queue results in a stall. I can keep going down this path. I currentl
> have it set at 256 megs for the queue memory limit, and I can put 100,000
> messages through in ~25 seconds.
>
> The biggest problem is the CPU utilization during this time. ActiveMQ
> consumes about 50% of the CPU while putting these messages on the queue.
> ActiveMQ 5.1.0 did not exhibit this type of behavior during heavy load.
>
> Any thoughts?
>
> mysomicra wrote:
>>
>> I wrote a quick performance test to send 100,000 messages to newly
>> installed activeMQ broker and am noticing odd behaviour.
>>
>> The producer blocks at exactly the same number of sent messages each time
>> - 5091, and on the machine where activeMQ is installed, its cpu usage
>> drops to zero.
>>
>> The seamingly odd thing is that while the producer is blocking, if I go
>> into the web console and view the stalled queue -
>> http://appserver:8161/admin/browse.jsp?JMSDestination=queuejms.testQueue,
>> the whole thing winds back up immediately and the entire send completes
>> about a minute later.
>>
>> I have tried tweaking various systemUsage parameters, but get exactly the
>> same result.
>>
>
> --
> View this message in context: http://www.nabble.com/Queue-repeatedly-stalls-tp20804233p20947050.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>



-- 
http://blog.garytully.com

Open Source SOA
http://FUSESource.com

Mime
View raw message