What's the mnesia capacity?

751 views
Skip to first unread message

Joey Jiao

unread,
Oct 27, 2014, 2:20:26 AM10/27/14
to rabbitm...@googlegroups.com
As we are hitting twice the error:

=WARNING REPORT==== 24-Oct-2014::19:05:47 ===
Mnesia('rabbit@baitweb-bd0001-lnx'): ** WARNING ** Mnesia is overloaded:
{dump_log,write_threshold}


Or in another word, how many queues/exchanges does rabbitmq support on one node?

Michael Klishin

unread,
Oct 27, 2014, 6:25:26 AM10/27/14
to rabbitm...@googlegroups.com, Joey Jiao
On 27 October 2014 at 09:20:32, Joey Jiao (joey....@gmail.com) wrote:
> =WARNING REPORT==== 24-Oct-2014::19:05:47 ===
> Mnesia('rabbit@baitweb-bd0001-lnx'): ** WARNING ** Mnesia
> is overloaded:
> {dump_log,write_threshold}
>
> Or in another word, how many queues/exchanges does rabbitmq
> support on one node?

It depends on your hardware and whether the node is a disk or RAM one.

Mnesia has some configuration parameters that can be bumped to avoid
the warning you see:

 * dump_log_write_threshold
 * dc_dump_limit

and the default indeed may be overly conservative for this day and age.

See http://streamhacker.com/2008/12/10/how-to-eliminate-mnesia-overload-events/ for
more detailed info. 
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Simon MacMullen

unread,
Oct 27, 2014, 6:47:20 AM10/27/14
to Joey Jiao, rabbitm...@googlegroups.com
On 27/10/14 06:20, Joey Jiao wrote:
> As we are hitting twice the error:
>
> =WARNING REPORT==== 24-Oct-2014::19:05:47 ===
> Mnesia('rabbit@baitweb-bd0001-lnx'): ** WARNING ** Mnesia is overloaded:
> {dump_log,write_threshold}

Which version are you running? In modern versions we try to limit
concurrent access to Mnesia to prevent this warning, but with older
versions and lots of HA queues this message can be common.

Cheers, Simon

Joey Jiao

unread,
Oct 27, 2014, 10:42:13 PM10/27/14
to rabbitm...@googlegroups.com, joey....@gmail.com
Rabbitmq 3.2.4

在 2014年10月27日星期一UTC+8下午6时47分20秒,Simon MacMullen写道:

Joey Jiao

unread,
Oct 27, 2014, 10:42:49 PM10/27/14
to rabbitm...@googlegroups.com, joey....@gmail.com
And we use federation queues/exchanges much.

在 2014年10月28日星期二UTC+8上午10时42分13秒,Joey Jiao写道:
Reply all
Reply to author
Forward
0 new messages