[rabbitmq-discuss] [help] [beginner] server stops sending messages; publish (in transaction) hangs on commit

Marek Majkowski majek04 at gmail.com
Thu Feb 23 17:55:44 GMT 2012

> Unfortunately Erlang memory handling is quite complex. By default,
> Erlang tries to optimize what it can, and that may mean allocating more memory
> that you would want to.
> Basically - Erlang VM is quite heavy even if it is not doing much.
> I'm afraid you just need to:
>  a) buy more RAM
>  b) or, tweak the vm_memory_high_watermark . You can even set
>  it to be more than 100% - if you don't mind getting erlang
>  process into swap sometimes.
>  But in such case, it's better to make sure that you won't have much
>  data residing in queues. (It should be okay to have high throughput
>   through rabbit, as far as consumers are keeping up)

You could also do:
 c) Tweak erlang gc: http://www.erlang.org/doc/man/erts_alloc.html
    but this is generally discouraged and hard enough to be a topic
for a PhD thesis.


More information about the rabbitmq-discuss mailing list