Massimo Paladin | 7 Aug 21:52 2011
Picon
Picon

Re: RabbitMQ and Stomp topic behavior

Some details.


I am using rabbitmq 2.5.1 on a rhel based os with erlang R14B-02.

For stomp-benchmark details look at: https://github.com/chirino/stomp-benchmark

The scenario provided makes memory increasing and if you let it run for some time at some point rabbitmq crashes because it can not allocate memory.
If you are interested I kept the crash dumps.

Regards,
---
Massimo Paladin

email: massimo.paladin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
website: http://www.mpaladin.com
flickr's page: http://flickr.com/photos/massimop


On Sat, Aug 6, 2011 at 2:11 PM, Massimo Paladin <Massimo.Paladin-vJEk5272eHo@public.gmane.org> wrote:
Hello,

I am doing some testing with RabbitMQ and Stomp.
I am using stomp-benchmark to run the scenario attached to this email.

It is producing small messages at highest rate possible on a topic on a RabbitMQ server, the topic does not have any consumer attached.
I can be run with such a command:
sbt run --host host --login guest --passcode guest --port 61613  --scenario-file custom.xml /tmp/rabbitmq_topic

I am running rabbitmq-server on a 16GB memory machine and 8GB swap with watermark level of 0.5 (7.8GB watermark)
Memory level output from the web interface reach values > 20GB.
Why does the memory goes up if there are no consumers attached to the topic?
Messages are supposed to be discarded straight away.

Regards,

<div>
<p>Some details.</p>
<div><br></div>
<div>I am using rabbitmq 2.5.1 on a rhel based os with erlang&nbsp;R14B-02.</div>
<div><br></div>
<div>For stomp-benchmark details look at:&nbsp;<a href="https://github.com/chirino/stomp-benchmark">https://github.com/chirino/stomp-benchmark</a>
</div>

<div><br></div>
<div>The scenario provided makes memory increasing and if you let it run for some time at some point rabbitmq crashes because it can not allocate memory.</div>
<div>If you are interested I kept the crash dumps.</div>

<div><br></div>
<div>Regards,</div>
<div>---<br>Massimo Paladin<br><br>email:&nbsp;<a href="mailto:massimo.paladin@..." target="_blank">massimo.paladin@...</a><br>website:&nbsp;<a href="http://www.mpaladin.com/" target="_blank">http://www.mpaladin.com</a><br>

flickr's page:&nbsp;<a href="http://flickr.com/photos/massimop" target="_blank">http://flickr.com/photos/massimop</a><br><br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 2:11 PM, Massimo Paladin <span dir="ltr">&lt;<a href="mailto:Massimo.Paladin@...">Massimo.Paladin@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

Hello,<div><br></div>
<div>I am doing some testing with RabbitMQ and Stomp.</div>
<div>I am using stomp-benchmark to run the scenario attached to this email.</div>
<div><br></div>
<div>It is producing small messages at highest rate possible on a topic on a RabbitMQ server, the topic does not have any consumer attached.</div>

<div>I can be run with such a command:</div>
<div>sbt run --host host --login guest --passcode guest --port 61613 &nbsp;--scenario-file custom.xml /tmp/rabbitmq_topic</div>
<div><br></div>
<div>I am running rabbitmq-server on a 16GB memory machine and 8GB swap with watermark level of 0.5 (7.8GB watermark)</div>

<div>Memory level output from the web interface reach values &gt; 20GB.</div>
<div>
<div>Why does the memory goes up if there are no consumers attached to the topic?</div>
<div>Messages are supposed to be discarded straight away.</div>

</div>
<div><br></div>
<div>Regards,</div>
<div>---<br>Massimo Paladin<br><br>email:&nbsp;<a href="mailto:massimo.paladin@..." target="_blank">massimo.paladin@...</a><br>website:&nbsp;<a href="http://www.mpaladin.com/" target="_blank">http://www.mpaladin.com</a><br>

flickr's page:&nbsp;<a href="http://flickr.com/photos/massimop" target="_blank">http://flickr.com/photos/massimop</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

Gmane