ESXi host unresponsiveness, VM stuns, and Guest OS CPU Starvation (rcu_preempt) on FC/NVMe Datastores
search cancel

ESXi host unresponsiveness, VM stuns, and Guest OS CPU Starvation (rcu_preempt) on FC/NVMe Datastores

book

Article ID: 438167

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

When utilizing FC/NVMe (Fibre Channel over NVMe) datastores, the ESXi host and its resident Virtual Machines may experience severe, temporary unresponsiveness.

Administrators will observe the following symptoms and log signatures:

  • Virtual Machine Stuns: VMs are briefly paused or "stunned". Upon recovery, Linux-based VMs (such as OpenShift nodes) log severe RCU starvation panics in the guest OS kernel.

    rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    rcu: rcu_preempt kthread starved for 227933 jiffies! g1471371429 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=3
    
  • Host Management Unresponsiveness: The ESXi host's hostd management service deadlocks. Basic file operations (like opening .vmx or .vmdk files) take over 150 seconds to complete. This is visible in /var/run/log/hostd.log:

    Wa(164) Hostd[2099952]: [Originator@6876 sub=IoTracker] In thread 2099963, close("/vmfs/volumes/.../VM_NAME.vmdk") took over 152 sec.
    
  • Telemetry Drop: The host temporarily stops sending performance metrics to vCenter/Grafana and drops remote syslog connectivity. This is visible in /var/run/log/vobd.log:

    The event ([esx.problem.vmsyslogd.remote.failure] The host "SYSLOG_IP:514" has become unreachable. Remote logging to this host has stopped.) was sent immediately to hostd;
    
  • Collateral Damage: Non-NVMe (FC/SCSI) datastores residing on the same ESXi host may also experience temporary I/O pauses due to the host-level hostd management exhaustion.

Environment

VMware ESXi 8.0

Cause

This issue is caused by a hardware-accelerated locking failure between the ESXi High-Performance Plug-in (HPP) and the underlying storage array firmware over the NVMe protocol.

To safely manage distributed locks on clustered VMFS datastores, ESXi uses Atomic Test and Set (ATS) heartbeats via the NVMe Compare command (Opcode 0x5). If the storage array unexpectedly rejects this command with a Compare Failure (Status D:0x285), ESXi fails to verify its locks.

This rejection is actively logged in /var/run/log/vmkernel.log and vmkwarning.log:

WARNING: NvmeUtil: 151: Error on Cmd(0x45ba83b37440) 0x5, CmdSN 0x1278b66 from world 2099985 to component "eui.5800..."  H:0x0 D:0x285 P:0x0
DLX: 5552: vol 'DATASTORE_NAME', lock at 357916672: Lock type: 10C00001. [Req mode 1] try lock error: Atomic test and set of disk block returned false for equality:

To prevent split-brain data corruption upon lock failure, the hypervisor immediately halts datastore I/O. This aggressive self-defense mechanism "stuns" the running VMs and deadlocks the host's hostd service until the lock paths recover or fail over.

Resolution

Workaround: To immediately stabilize the environment and prevent further VM stuns, change the storage protocol mapping for the affected LUNs from FC/NVMe to FC/SCSI.

FC/SCSI utilizes VMware's mature Native Multipathing (NMP) stack and standard SCSI COMPARE AND WRITE commands. The storage array reliably processes these traditional SCSI locks, bypassing the NVMe-specific ATS failures.

Permanent Resolution: Permanent resolution requires addressing how the NVMe Compare command is handled by the backend storage array.

  1. Engage your storage vendor's support team (e.g., Dell, NetApp, Pure).

  2. Provide them with the specific NVMe error found in the ESXi logs: Error on Cmd(...) 0x5 ... H:0x0 D:0x285 P:0x0.

  3. Request the appropriate storage array firmware update or configuration patch required to fully support VMware ESXi 8.x NVMe ATS locking.