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

  1. Access the VM Terminal: Open the terminal on the virtual machine (VM) where HiveMQ is running.

  2. Switch User to HiveMQ:

    su hivemq
  3. 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

 Related articles