Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Introduce a command to close all or a subset of connections #155

Closed
michaelklishin opened this issue Dec 13, 2016 · 0 comments · Fixed by #163
Closed

Introduce a command to close all or a subset of connections #155

michaelklishin opened this issue Dec 13, 2016 · 0 comments · Fixed by #163
Assignees
Milestone

Comments

@michaelklishin
Copy link
Member

Similar to the idea in rabbitmq/rabbitmq-server#817 but to force close all active connections, in a particular vhost or (worth considering) globally. This is sometimes useful for technical ops.

This will be a good feature to introduce now that rabbitmq/rabbitmq-server#500 is finished and merged.

More ideas suggested by @johnfoldager in the original issue in rabbitmq-server:

  • a per-connection delay to avoid/lessen the probability of causing a thundering herd, e.g. --per-connection-delay in milliseconds
  • a --global flag that would close all active connections to a node (across all vhosts)
  • a --limit of how many connections are closed (cannot work with --global, only per-vhost)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants