Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set_disk_free_limit mem_relative to 1.0 or higher #717

Closed
bdshroyer opened this issue Mar 30, 2016 · 1 comment
Closed

Unable to set_disk_free_limit mem_relative to 1.0 or higher #717

bdshroyer opened this issue Mar 30, 2016 · 1 comment
Assignees
Milestone

Comments

@bdshroyer
Copy link
Contributor

When rabbitmqctl set_disk_free_limit mem_relative is invoked with a value of 1.0 or higher, you get the following error message:

Error: {{function_clause,
            [{rabbit_resource_monitor_misc,parse_information_unit,
                 [{mem_relative,1.0}],
                 [{file,"src/rabbit_resource_monitor_misc.erl"},{line,29}]},
             {rabbit_disk_monitor,interpret_limit,1,
                 [{file,"src/rabbit_disk_monitor.erl"},{line,241}]},
             {rabbit_disk_monitor,set_disk_limits,2,
                 [{file,"src/rabbit_disk_monitor.erl"},{line,188}]},
             {rabbit_disk_monitor,handle_call,3,
                 [{file,"src/rabbit_disk_monitor.erl"},{line,145}]},
             {gen_server,try_handle_call,4,
                 [{file,"gen_server.erl"},{line,629}]},
             {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},
             {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},
        {gen_server,call,
            [rabbit_disk_monitor,
             {set_disk_free_limit,{mem_relative,1.0}},
             infinity]}}
@michaelklishin
Copy link
Member

Looks like this was introduced in 829890b, and is a misunderstanding of what the value is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants