-
Notifications
You must be signed in to change notification settings - Fork 166
rates_mode not configurable on management agent only nodes. #33
Comments
Yes, the problem is that loading configuration for an app that wasn't started from another app is tricky. Not that many people run just the agent alone (or even know what it is). @dumbbell do we want to fix this or just ask people to run "the entire" management plugin? |
I didn't look at the |
We can attempt loading No, we can't just change the parameter — it would be breaking change. We can only introduce one more setting for people who know what they're doing and only run the agent. Or just ask everybody to run both. |
Yes, it would be a change to make in 3.6.0. Meanwhile, we could document the fact About application loading, it's worth a try. |
I'm not really familiar with the inner workings of the management plugin but we moved it to a dedicated node because of memory issues on our main/productive node. I was under the assumption that this is some kind of "best practice". Is there no memory penalty involved in running the full management plugin on every node? |
There is only one management database node in a cluster at any time, even if you have management plugin enabled on every node. |
I don't think breaking this even for 3.6.0 is a good idea. We'll try pre-loading and if it works, so be it. If not, then enabling the entire plugin will be required. |
@michaelklishin Ok, is there a way of controlling which node holds the management database if the management_plugin is running on every node of a cluster? |
@databus23 there's no dedicated command for that. Perhaps we should consider adding it. Please file another issue if you feel it's important. |
I've tried loading I'll add a |
Adding the |
We haven't merged it yet ;) |
This is the same as application:get_env/3, but this one was only added to Erlang R16. References rabbitmq/rabbitmq-management#33.
@databus23 this will be in |
@michaelklishin That's awesome! Thanks a lot for the quick response on this. |
Since we upgraded our 3 node cluster to rabbitmq 3.5.1 we are seeing these messages in the management ui:
So as suggested we tried to set
rates_mode
tonone
on all three cluster members but only the node where therabbitmq_management
plugin is running picks up the configuration setting from the config file.On the two other nodes we only run the
rabbitmq_management_agent
plugin and the management ui show these nodes as running inbasic
rates_mode even within the rabbitmq config file.
So it seems only the
rabbitmq_management
plugin actually loads the{rabbitmq_management, ...}
stanza from the config file and nodes only running the agent plugin will default to basic mode regardless of what is specified in the config file.The text was updated successfully, but these errors were encountered: