-
-
Save gumeniukcom/dee88c50231044df1c447aec918bb725 to your computer and use it in GitHub Desktop.
kill ALL rabbitmq connections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rabbitmqctl list_connections pid port state user vhost recv_cnt send_cnt send_pend name | awk '{print "rabbitmqctl close_connection \"" $1 "\" \"manually closing idle connection\"" | "/bin/bash" }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment