[rabbitmq-discuss] memory leak with RabbitMQ 3.1.0 and erlang R16B03

Simon MacMullen simon at rabbitmq.com
Thu Jan 16 10:39:46 GMT 2014


A couple of memory leaks have been fixed in the management plugin since 
3.1.0. From the changelog:

25600 fix consumer record leak in the management database (since 2.2.0)
25629 fix memory leak in the presence of long-lived channels and
       short-lived queues (since 3.1.0)

So an upgrade is definitely advised.

Cheers, Simon

On 16/01/14 03:33, Xie Yunpeng wrote:
> my rabbitmq cluster consist of three rabbitmq service on three machine,
> and i use lvs to make other services can use one ip address connect to
> rabbitmq server. one of the machine handle three hundred connections and
> more than four thousand channles, send and revice rate is the same so
> there is no msg in queue.but it's memory usage is growing all the time
> until i stop_app/start_app, when i check memory usage on rabbitmq
> management it shows 2.3G, but i use top on the machine can see the
> rabbitmq use about 13G memory, how to solve this problem? is it a bug?
> memory info on this machine with rabbitmqctl report:
>   {erlang_version,
>       "Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:24:24]
> [async-threads:30] [hipe] [kernel-poll:true]\n"},
>   {memory,
>       [{total,2476273832},
>        {connection_procs,155880032},
>        {queue_procs,5600},
>        {plugins,590576},
>        {other_proc,22481760},
>        {mnesia,104832},
>        {mgmt_db,2184042360},
>        {msg_index,40560},
>        {other_ets,41907368},
>        {binary,34012872},
>        {code,19853836},
>        {atom,703377},
>        {other_system,16650659}]},
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list