Sanity checks take a long time during HiveMQ startup
Problem
When starting the HiveMQ broker, you may experience prolonged sanity checks, causing delays during startup.
Steps to Diagnose
Access the VM Terminal: Open the terminal on the virtual machine (VM) where HiveMQ is running.
Switch User to HiveMQ:
su hivemq
Run the Command:
getent group
If this command takes a long time to execute, it indicates that the issue is specific to your environment, leading to extended sanity check durations.
Solution
To mitigate this issue, you can disable the validation check as a workaround. For detailed instructions on how to do this, please refer to our documentation