Why my rabbitMQ disk space is full ?

3,518 views
Skip to first unread message

benjamin...@bondevisite.fr

unread,
Apr 23, 2019, 11:27:33 AM4/23/19
to rabbitmq-users

Hi,

I am a beginner and I am experiencing a problem on my Rabbitmq, I don't know why but my space disk is full. 

Even if I execute (for example)
           - rabbitmqctl set_disk_free_limit 30GB 
           or 
           - rabbitmqctl set_disk_free_limit mem_relative 0.1

The disk space change and the low watermark too but I don't understand why I only have 35MB free space whereas my virtual machine has  60GB and 15GB RAM.

Here are my RabbitMQ manager :
Capture.JPG






Do you have any idea of what could take all my disk space and how to solve this issue ? 

Thank you  

Here are the stats of reading / writing on the disk of my VM 

stats.JPG

 

Luke Bakken

unread,
Apr 23, 2019, 12:11:08 PM4/23/19
to rabbitmq-users
Hello,

By default RabbitMQ stores data in /var/lib/rabbitmq

In your environment, do you have a small volume mounted at /var ?

What is the output of this command:

df -h

Thanks,
Luke

benjamin...@bondevisite.fr

unread,
Apr 24, 2019, 3:47:45 AM4/24/19
to rabbitmq-users
Hi thanks for your response, 

here is my output of the command df -h :

output.JPG









I guess you are right :), I need to remove the /dev/sda1 file ?

Do you have any idea why this file is this big ?

Thank you very much,
Benjamin

Luke Bakken

unread,
Apr 24, 2019, 10:10:38 AM4/24/19
to rabbitmq-users
Hi Benjamin,

/dev/sda1 is the block device that corresponds to a partition on your storage device. You don't want to remove it.

You need to find the file or files that are taking up all of the space on that device. You can start by running this command as root to see which top-level directories take the most space:

du -hs /*

Thanks,
Luke

benjamin...@bondevisite.fr

unread,
Apr 25, 2019, 8:32:44 AM4/25/19
to rabbitmq-users
Thank you very much it resolved my problem !

Have a great day ,

Benjamin
Reply all
Reply to author
Forward
0 new messages