[rabbitmq-discuss] rabbitmq-server crashes hard while consuming 31GB of RAM

Muharem Hrnjadovic mh at foldr3.com
Mon Nov 28 12:43:48 GMT 2011


On 11/24/2011 05:23 PM, Simon MacMullen wrote:
> On 24/11/11 14:25, Muharem Hrnjadovic wrote:
>> On 11/23/2011 05:40 PM, Simon MacMullen wrote:
>>> On 23/11/11 15:05, Muharem Hrnjadovic wrote:
>> [..]
>>> 3b) Can you run:
>>>
>>> su rabbitmq -s /bin/sh -c 'erl -remsh rabbit@`hostname -s` -sname foo -eval "io:format(\"~p\", [lists:sublist(lists:reverse(lists:sort([{process_info(Pid, memory), Pid, process_info(Pid)} || Pid<- processes()])), 30)]), halt()."'
>> Hello Simon,
>>
>> I "tested" your command above, please see: http://paste.ubuntu.com/748229/
>> There are a number of "File operation error:.." entries in there. Is
>> that something you expected to see?
> 
> They should be harmless - I expect you ran that from a cwd that the rabbitmq user could not read. You could "cd /var/lib/rabbitmq" first to shut it up.
> 
> However, I realise now that the above command does not work: -eval and -remsh do not work together so it's reporting on the Erlang processes in the shell, not RabbitMQ. Please try:
> 
> su rabbitmq -s /bin/sh -c "erl -sname foo -eval \"rpc:call(rabbit@`hostname -s`, erlang, apply, [fun() -> io:format(\\\"~p\\\", [lists:sublist(lists:reverse(lists:sort([{process_info(Pid, memory), Pid, process_info(Pid)} || Pid <- processes()])), 30)]) end, []]), halt().\""
ugh!

> ...instead, and try to ignore the fact that it looks like the result of an obfuscation contest.
OK, did that, please the attachment on
    https://bugs.launchpad.net/openquake/+bug/894024/comments/4

Sorry, it took a while to provide that data.

Best regards/Mit freundlichen Grüßen

-- 
Muharem Hrnjadovic <mh at foldr3.com>
Public key id   : B2BBFCFC
Key fingerprint : A5A3 CC67 2B87 D641 103F  5602 219F 6B60 B2BB FCFC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111128/8223e7fb/attachment.pgp>


More information about the rabbitmq-discuss mailing list