“Not Enough Disk Space” Warning in the HiveMQ Control Center
Problem
When I refresh the Clients List in the HiveMQ Control Center, isee the warning “Not enough disk space available to store temporary data about client information!“
Solution
When you refresh the Clients List in the HiveMQ Control Center, it requires a certain amount of disk space in the /opt/hivemq/data
directory. If there isn't enough space available, you'll see the warning message you're currently experiencing.
To gain more insights into the disk space issue, I recommend checking the HiveMQ broker logs for warnings that start with:
“Not enough disk space available to create temporary persistence”
This warning will provide additional details regarding the available space, the required space, and the total disk space in the following format:
"Not enough disk space available to create temporary persistence for HiveMQ Control Center {} list. Available: {} Byte --- Needed: {} Byte --- Total: {} Byte."
Check the log files located in /opt/hivemq/log/hivemq*log
on each of the HiveMQ broker instances in the cluster.
cat /opt/hivemq/log/hivemq.log | grep 'Not enough disk space available'
This should provide further information on the required disk space, allowing you to adjust the /opt/hivemq/data
directory size accordingly.