[rabbitmq-discuss] rabbitmq out of memory

David.Corcoran at edftrading.com David.Corcoran at edftrading.com
Thu Jul 10 17:24:23 BST 2008


Hey,

We're having some memory problems with RabbitMQ and I'm trying to track
down their cause. What's happening is that RabbitMQ quite quickly starts to
eat up memory and around the 2GB mark dies (it's a 32bit machine). The logs
look fine and the startup.err just has a memory allocation error.

I've attached the output of stat_all() to see if that might help. It
doesn't look very informative. Is there another command I should be
running?

(specs)
redhat el5 32bit
erlang 12b3
rabbitmq 1.3.0

(stat_all)

(test at vsdlbblue01)4> rpc:call('rabbit at vsdlbblue01', rabbit_amqqueue,
stat_all, []).
[{ok,{resource,<<"/">>,queue,
               <<"amq.q.gen2458_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen2127_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen904_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen972_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen486_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen3773_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen1827_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen1839_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen1277_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen507_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen221_rabbit at vsdlbblue01_20080710111628_">>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen2904_rabbit at vsdlbblue01_20080710111"...>>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen873_rabbit at vsdlbblue01_20080710"...>>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen312_rabbit at vsdlbblue01_2008"...>>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen2149_rabbit at vsdlbblue01"...>>},
     0,1},
 {ok,{resource,<<"/">>,queue,
               <<"amq.q.gen570_rabbit at vsdlbblu"...>>},
     0,1},
 {ok,{resource,<<"/">>,queue,<<"amq.q.gen4091_rabbit at vsd"...>>},
     0,1},
 {ok,{resource,<<"/">>,queue,<<"amq.q.gen4019_rabbit"...>>},0,1},
 {ok,{resource,<<"/">>,queue,<<"amq.q.gen3219_ra"...>>},0,1},
 {ok,{resource,<<"/">>,queue,<<"amq.q.gen308"...>>},0,1},
 {ok,{resource,<<"/">>,queue,<<"amq.q.ge"...>>},0,1},
 {ok,{resource,<<"/">>,queue,<<"amq."...>>},0,1},
 {ok,{resource,<<"/">>,queue,<<...>>},0,1},
 {ok,{resource,<<"/">>,queue,...},0,1},
 {ok,{resource,<<...>>,...},0,1},
 {ok,{resource,...},0,...},
 {ok,{...},...},
 {ok,...},
 {...}|...]
(test at vsdlbblue01)5>

RabbitMQ was using 1.7GB of RAM when I ran stat_all

Thanks,

Dave



*********************************************************************
This communication contains confidential information, some or all of which may be privileged. It is for the intended recipient only and others must not disclose, distribute, copy, print or rely on this communication. If an addressing or transmission error has misdirected this communication, please notify the sender by replying to this e-mail and then delete the e-mail. E-mail sent to EDF Trading may be monitored by the company. Thank you. 
EDF Trading Limited
80 Victoria Street, 3rd Floor, Cardinal Place, London, SW1E 5JL
A Company registered in England No. 4255974. 
Switchboard: 020 7061 4000
EDF Trading Markets Limited is a member of the EDF Trading Limited Group and is authorised and regulated by the Financial Services Authority.
VAT number: GB 735 5479 07
*********************************************************************




More information about the rabbitmq-discuss mailing list