[rabbitmq-discuss] rabbitmq-server dies from out of memory
Alvaro Videla
videlalvaro at gmail.com
Wed Oct 30 13:07:53 GMT 2013
Hi François,
We recently found a OOM bug related to 32bit Erlang and RabbitMQ, so sorry
if I insist with this, but we want to make sure that you have/not have a
32bit Erlang when running RabbitMQ. What could happen is that the Erlang
that's on the path of the rabbitmq-server script might not be the same as
the Erlang that you start by calling "erl". In my Mac for example I have a
globally installed 64 bit Erlang, but the standalone release comes with a
32bit Erlang.
In any case, could you please start RabbitMQ and then tell us the output of
the following command:
rabbitmqctl eval 'erlang:system_info(system_version).'
Also, on my rabbit log files I get the following lines during rabbit start
up, what's on yours?
=INFO REPORT==== 30-Oct-2013::01:23:36 ===
Memory limit set to 1594MB of 3986MB total.
And finally, could you report rabbit's memory use when it's about to crash?
You could get that info by running rabbitmqctl status, or by checking on
the management plugin interface.
Regards,
Alvaro
On Wed, Oct 30, 2013 at 1:23 PM, François Beausoleil <
francois.beausoleil at gmail.com> wrote:
>
> Le 2013-10-29 à 17:20, Michael Klishin a écrit :
>
> > On 30 Oct 2013, at 01:10, François Beausoleil <
> francois.beausoleil at gmail.com> wrote:
> >
> >> The host has configuration for overcommit:
> >>
> >> # cat /proc/sys/vm/overcommit_ratio
> >> 50
> >> # cat /proc/sys/vm/overcommit_memory
> >> 2
> >
> > Can you post ulimit -a output?
>
>
> # ulimit -a
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> scheduling priority (-e) 0
> file size (blocks, -f) unlimited
> pending signals (-i) 256523
> max locked memory (kbytes, -l) 64
> max memory size (kbytes, -m) unlimited
> open files (-n) 4096
> pipe size (512 bytes, -p) 8
> POSIX message queues (bytes, -q) 819200
> real-time priority (-r) 0
> stack size (kbytes, -s) 8192
> cpu time (seconds, -t) unlimited
> max user processes (-u) 256523
> virtual memory (kbytes, -v) unlimited
> file locks (-x) unlimited
>
> Anything else I'm missing?
>
> Thanks!
> François Beausoleil
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131030/af30e066/attachment.htm>
More information about the rabbitmq-discuss
mailing list