[rabbitmq-discuss] {disk_free_limit, {mem_relative, 1.0}}

carlhoerberg carl.hoerberg at gmail.com
Fri Jun 13 00:37:17 BST 2014


It doesn't seems like we're able to configure disk_free_limit with
{mem_relative, 1.0} (as described here:
http://www.rabbitmq.com/configure.html). The mgmt interface reports "(not
available)" and the sasl log reports: 


=CRASH REPORT==== 9-Jun-2014::15:17:09 ===
  crasher:
    initial call: rabbit_disk_monitor:init/1
    pid: <0.251.0>
    registered_name: []
    exception exit: {badarith,
                        [{rabbit_disk_monitor,interval,1,[]},
                         {rabbit_disk_monitor,start_timer,1,[]},
                         {rabbit_disk_monitor,init,1,[]},
                         {gen_server,init_it,6,
                             [{file,"gen_server.erl"},{line,306}]},
                         {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,239}]}]}
      in function  gen_server:init_it/6 (gen_server.erl, line 330)
    ancestors: [rabbit_disk_monitor_sup,rabbit_sup,<0.96.0>]
    messages: []
    links: [<0.250.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 6772
    stack_size: 27
    reductions: 40670
  neighbours:

=SUPERVISOR REPORT==== 9-Jun-2014::15:17:09 ===
     Supervisor: {local,rabbit_disk_monitor_sup}
     Context:    start_error
     Reason:     {badarith,
                     [{rabbit_disk_monitor,interval,1,[]},
                      {rabbit_disk_monitor,start_timer,1,[]},
                      {rabbit_disk_monitor,init,1,[]},
                      {gen_server,init_it,6,
                          [{file,"gen_server.erl"},{line,306}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,239}]}]}
     Offender:   [{pid,undefined},
                  {name,rabbit_disk_monitor},
                  {mfargs,
                     
{rabbit_disk_monitor,start_link,[{mem_relative,1.0}]}},
                  {restart_type,{transient,1}},
                  {shutdown,4294967295},
                  {child_type,worker}]




--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/disk-free-limit-mem-relative-1-0-tp36187.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list