Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  eheap_alloc error

Guest
Posted: Tue Sep 15, 2009 3:57 pm Reply with quote
Guest
queue's are marked as durable and persistent on both sides:


Producer:
send_message(Channel, Ticket, X, RoutingKey, Payload) ->
Guest
Posted: Tue Sep 15, 2009 4:04 pm Reply with quote
Guest
Doing some investigation into what happened, apparently the memory just instantly got used, it wasn't leaking something slowly...any ideas?

Attached is an image of memory usage, then the consumer dies freeing up the memory used later.

On Tue, Sep 15, 2009 at 8:56 AM, Suhail Doshi <suhail@mixpanel.com (suhail@mixpanel.com)> wrote:
Quote:
queue's are marked as durable and persistent on both sides:


Producer:
send_message(Channel, Ticket, X, RoutingKey, Payload) ->
Guest
Posted: Wed Sep 16, 2009 11:49 am Reply with quote
Guest
On Tue, Sep 15, 2009 at 17:03, Suhail Doshi <suhail@mixpanel.com> wrote:
> Doing some investigation into what happened, apparently the memory just
> instantly got used, it wasn't leaking something slowly...any ideas?
> Attached is an image of memory usage, then the consumer dies freeing up the
> memory used later.

It looks like erlang was trying to allocate 5 gigs of RAM, and failed.
This could have happened during garbage collection, but only
if a single erlang process was using all the memory.

Do you have a single large queue?
Are you sure that the queue had reasonable size during the crash?
Maybe all the consumers had died and rabbit just ran out of memory?

Cheers!
Marek Majkowski

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Thu Sep 17, 2009 4:47 pm Reply with quote
Guest
On Wed, Sep 16, 2009 at 4:48 AM, majek04 <majek04@gmail.com (majek04@gmail.com)> wrote:
Quote:
On Tue, Sep 15, 2009 at 17:03, Suhail Doshi <suhail@mixpanel.com (suhail@mixpanel.com)> wrote:
> Doing some investigation into what happened, apparently the memory just
> instantly got used, it wasn't leaking something slowly...any ideas?
> Attached is an image of memory usage, then the consumer dies freeing up the
> memory used later.


It looks like erlang was trying to allocate 5 gigs of RAM, and failed.
This could have happened during garbage collection, but only
if a single erlang process was using all the memory.

Do you have a single large queue?


Yes just 1 queue, definitely adds up after a while if consumers are not running

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum