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

rt and RabbitMQ do not need to run if the collector will not run #3

Open
mikeiannacone opened this issue Jul 15, 2015 · 1 comment
Open

Comments

@mikeiannacone
Copy link
Member

If the collectors are set to "once" mode, rt and RabbitMQ do not need to run after the initial collecting has completed.

If the collectors are set to "once", they will simply not be added to the supervisor configuration. However, this will not work here, because rabbitmq is not managed that way, and because supervising rt during the initial loading is still desirable.

We need to decide on the best way to pass/store/use this option. (eg, the collector role could read the stucco_collector_mode value from its config, set an environment variable, and then cleanup.sh or similar could check that env. variable. But I'd like to find a simpler way.)

Also note if rt is not configured to run after the initial processing, the VMs memory can potentially be lowered after the loading finishes.

@mikeiannacone
Copy link
Member Author

This is a very minor issue, but still open. Probably not a great 'first issue' for someone, because it involves changes to several different components.

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

1 participant