In ESXi 8.0.2, a bug in the AVX-512 instruction implementation causes crashes in RabbitMQ running on Erlang.
VMware ESXi 8.0.2
RabbitMQ running on Erlang
Virtual machines using CPUs that support AVX-512
The ESXi 8.0.2 implementation of the AVX-512 CPU instruction contains a bug that leads to an Erlang crash, thereby affecting RabbitMQ operations.
1. Upgrade to ESXi 8.0.3, which resolves this issue along with several critical CVEs
OR
2. For customers who cannot upgrade to ESXi 8.0.3, the following workaround can be applied to disable AVX-512 within the VM settings:
Option 1: Modify the Kernel Command Line Parameter (Linux Guests Only)
Add the following kernel command line parameter to the Linux guest OS:
clearcpuid=304
Reboot the VM for the change to take effect.
Option 2: Modify the VMX File Settings
Edit the VM's .vmx
configuration file and add the following parameters:
featMask.vm.cpuid.AVX512F="Max:0"
featMask.vm.cpuid.AVX512FP16="Max:0"
Perform a full power cycle of the VM (shut down and restart) for the changes to take effect.
Applying either of these workarounds will prevent the guest OS from using the AVX-512 instruction set, mitigating the RabbitMQ crash issue while remaining on ESXi 8.0.2.