activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From razaimperial <raza....@gmail.com>
Subject Re: ApacheMQ broker memory consumption and crash
Date Wed, 25 Jul 2007 21:33:03 GMT

sorry about that..

version 4.1.1


rajdavies wrote:
> 
> which version of amq ? The version really makes a difference to the  
> answer ;)
> 
> On Jul 25, 2007, at 10:14 PM, razaimperial wrote:
> 
>>
>> Hi guys,
>>
>> Like others, Im doing a stress test on MQ. I dont think I have a  
>> config
>> issue but just in case.
>>
>> I am simulating lots of topic from 14 connections (in a real  
>> deployment each
>> stream would be a seperate connection), each connection has around  
>> X number
>> of topic. There is just one consumer subscribed to all of these  
>> topics. The
>> message size is quite large though, about 25k per packet, sent  
>> every 15
>> seconds for each topic.
>>
>> The broker does fine until about 100 topics per connection in terms  
>> of CPU
>> utilization, but the memory footprint is quite large. The utilization
>> progressively increases (starts at around 5% (of 4GB)) and  
>> increases as more
>> topics join the system. However it doesnt go past 15.5%  
>> (translating to
>> around 600mb) and after 15.5 percent first the CPU utlization goes  
>> to 99%
>> lingers there for a few seconds (the broker is sending messages at  
>> this
>> point) and the broker just dies.
>>
>> I've tried increasing the memory assigned to the broker but Im not  
>> sure if
>> Im doing it right. First off, there was the same behaviour by  
>> default, even
>> though the documentation says the default is 20mb RAM use, clearly  
>> not the
>> case. But even when I change that to 600mb or more, I get the exact  
>> same
>> behaviour.
>>
>> Im editing the default apachemq.xml file that ships with the  
>> installation.
>>
>> Help much appreciated
>> -- 
>> View this message in context: http://www.nabble.com/ApacheMQ-broker- 
>> memory-consumption-and-crash-tf4147994s2354.html#a11800104
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ApacheMQ-broker-memory-consumption-and-crash-tf4147994s2354.html#a11800399
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message