Link Search Menu Expand Document

RabbitMQ Cheat Sheet


rabbitmqctl list_vhosts
rabbitmqctl list_queues -p <vhost>

rabbitmqctl cluster_status

rabbitmqctl stop_app
rabbitmqctl join_cluster <node>
rabbitmqctl start_app

rabbitmqctl report    # Dump detailed report on RabbitMQ instance  

# Plugin management
/usr/lib/rabbitmq/bin/rabbitmq-plugins enable <name>
/usr/lib/rabbitmq/bin/rabbitmq-plugins list   

# Live modifications using eval
rabbitmqctl eval 'application:set_env(rabbit, reverse_dns_lookups, true).'

# Convert disk node to RAM node
rabbitmqctl change_cluster_node_type ram


Configuring Limits

Find out about actual limits

rabbitmqctl status | grep -A 4 file_descriptors

To increase it to e.g. 10000 open files:

rabbitmqctl eval 'file_handle_cache:set_limit(10000).'