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