RabbitMQ – the wittle wabbit says it has no disk space

You’re sending messages and the publish just hangs…until it times out. WTF?

Log into the RabbitMQ management tool and check out disk space… if it reckons you’ve run out have a look to see if its true. If not, congratulations! You’re experiencing the  pain I just went through… Rabbit is reporting 2kB of disk space available on a disk with 100+ GB free… go figure.

Fix:
  1. Create a file called rabbitmq.config in %APPDATA%RabbitMQ
  2. Enter this (including the dot at the end of the line ): [{rabbit, [{disk_free_limit, 0}]}].
    1. This is telling Rabbit to mind its own business, and that no space on the disk is when you start caring.
  3. Uninstall and reinstall the service using the rabbit command prompt:
    1. rabbitmq-service.bat remove
    2. rabbitmq-service.bat install
    3. rabbitmq-service.bat start
  4. Go for you life.