{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/33","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/33/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/33/events","html_url":"https://github.com/rabbitmq/rabbitmq-management/issues/33","id":66866140,"number":33,"title":"rates_mode not configurable on management agent only nodes.","user":{"login":"databus23","id":439223,"avatar_url":"https://avatars.githubusercontent.com/u/439223?v=3","gravatar_id":"","url":"https://api.github.com/users/databus23","html_url":"https://github.com/databus23","followers_url":"https://api.github.com/users/databus23/followers","following_url":"https://api.github.com/users/databus23/following{/other_user}","gists_url":"https://api.github.com/users/databus23/gists{/gist_id}","starred_url":"https://api.github.com/users/databus23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databus23/subscriptions","organizations_url":"https://api.github.com/users/databus23/orgs","repos_url":"https://api.github.com/users/databus23/repos","events_url":"https://api.github.com/users/databus23/events{/privacy}","received_events_url":"https://api.github.com/users/databus23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/labels/usability","name":"usability","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-07T11:59:08Z","updated_at":"2015-04-08T16:18:54Z","closed_at":null,"body":"Since we upgraded our 3 node cluster to rabbitmq 3.5.1 we are seeing these messages in the management ui:\r\n\r\n> The management statistics database currently has a queue of X events to process. If this number keeps increasing, so will the memory used by the management plugin. You may find it useful to set the rates_mode config item to none.\r\n\r\nSo as suggested we tried to set `rates_mode` to `none` on all three cluster members but only the node where the `rabbitmq_management` plugin is running picks up the configuration setting from the config file.\r\n On the two other nodes we only run the `rabbitmq_management_agent`plugin and the management ui show these nodes as running in `basic` rates_mode even with\r\n\r\n     {rabbitmq_management, [\r\n       {rates_mode, none}\r\n     ]}\r\n\r\nin the rabbitmq config file.\r\n\r\nSo 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](https://github.com/rabbitmq/rabbitmq-management-agent/blob/master/src/rabbit_mgmt_db_handler.erl#L48) regardless of what is specified in the config file.\r\n\r\n\r\n\r\n    "},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/comments/90964133","html_url":"https://github.com/rabbitmq/rabbitmq-management/issues/33#issuecomment-90964133","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/33","id":90964133,"user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T16:18:54Z","updated_at":"2015-04-08T16:18:54Z","body":"@databus23 there's no dedicated command for that. Perhaps we should consider adding it. Please file another issue if you feel it's important."}}