[rabbitmq-discuss] RabbitMQ crashes hard when it runs out of memory

Matthias Radestock matthias at lshift.net
Fri Oct 23 07:54:49 BST 2009


Stephen,

Stephen Day wrote:
> I won't bore you with all the output, but I tracked down the binary 
> usage to these two processes:
> 
> [{Pid1, _Info, _Bin}, {Pid2, _Info2, _Bin2} | Other ] = [{P, 
> process_info(P), BinInfo} || {P, {binary, BinInfo}} <- [{P, 
> process_info(P, binary)} || P <- processes()], length(BinInfo) > 100000].
> 
> <0.157.0>             gen:init_it/6                      1682835  
> 1873131    0
>                       gen_server2:process_next_msg/8          

Do you know what that process is? process_info(P) may have some clues to 
figure that out.

>  {<0.157.0>,825951032},
>  {<0.158.0>,602886872},
>  {<0.159.0>,345002144},

Right, so that's some mystery process (probably a queue), the persister 
and disk_log. We may have to force a more aggressive gc strategy on the 
latter two.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list