[rabbitmq-discuss] Possible memory leak?

Marek Majkowski majek04 at gmail.com
Fri Jul 2 14:22:10 BST 2010


On Thu, Jul 1, 2010 at 20:01, David King <dking at ketralnis.com> wrote:
>>> I have an EC2 node running rabbitmq 1.7.2. Take a look at its memory over the last month <http://i.imgur.com/LMf02.png>. Looks like a possible memory leak?
>> In this graph, have you restarted RabbitMQ around Saturday? Or had
>> this sharp edge happened without your intervention?
>
> Yes, that's when I last restarted rabbit. We have to take our site down to do so, and that's not desirable.

Hold on, if you don't have any messages in the queues why does rabbit
eat 3 gigs from the start?

>> It won't hurt if you upgraded to the newest RabbitMQ release - 1.8.0.
>> ...and, more importantly, to Erlang/OTP R13B03 - unless you are running that or a more recent Erlang release already.
>
> According to that graph I'm going to have to restart the node soon anyway, so I'll try that, but if it doesn't fix a known leak that's unlikely to help, right? As for Erlang, we're running R13B-4.

R13B3 introduced a major redesign to garbage collection for binaries.  See here:
http://www.lshift.net/blog/2009/12/01/garbage-collection-in-erlang


Cheers,
  Marek


More information about the rabbitmq-discuss mailing list