delete ghost queues rabbitmq
# Crashed queues
# Replace VHOSTNAME with your VHOST
# Replace QUEUE with your QUEUENAME
rabbitmqctl eval '{ok, Q} = rabbit_amqqueue:lookup(rabbit_misc:r(<<"VHOSTNAME">>, queue, <<"QUEUE">>)), rabbit_amqqueue:delete_crashed(Q).'