Alert hostd performance has degraded due to high system latency
search cancel

Alert hostd performance has degraded due to high system latency

book

Article ID: 386215

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms

  • Some hosts go into a not-responding state, causing the VMs to become inaccessible.

  • An alarm is triggered in the VC from multiple hosts:  Alarm 'Host error' on esxi host triggered by event ###### 'Issue detected on hostname.domain.com in Datacenter: hostd performance has degraded due to high system latency'.

  • The /var/run/log/vmkernel.log file on the ESXi host display similar warning messages:

    <YYYY-MM-DD>T<time>Z In (###) vmkernel: cpu29:######)ScsiDeviceIO: ####: Cmd(#x######) #x##, cmdId.initiator=#x####### CmdSN #x##### from world ####### to dev "naa.#######################" failed H:0x5 D:0x0 P:0x0. Cmd count Active:0
     
    <YYYY-MM-DD>T<time>Z In (###) vmkernel: cpu7:######)ScsiDeviceIO: ####: Cmd(#x#######) #x##, CmdSN #x##### from world ###### to dev "naa.#######################" failed H:0x3 D:0x0 P:0x0
  • Sluggish host performance makes it impossible to check logs or run any esxcli commands.

  • vSAN objects timedout events seen in /var/run/log/vobd.log frequently.

    YYYY-MM-DDTHH:MM:SS.MSZ In (14) vobd [2097813] : [vmfsCorrelator] 25522636177982us: [vob.vmfs.heartbeat.timedout] ########-########-####-############ ########-####-####-#######-####-########

  • In /var/run/log/vmkernel.log, we can see performance deteriorated logging -

    YYYY-MM-DDTHH:MM:SS.MSZ Wa(180) vmkwarning: cpu15:2098098)WARNING: ScsiDeviceIO: 1780: Device mpx.##:##:##:## performance has deteriorated. I/0 latency increased from average value of 443 microseconds to 2450759 microseconds.

  • High davg observed from esxtop.

Environment

  • VMware vSphere ESXi 8.x
  • VMware vSphere ESX 9.x
  • VMware vSAN 8.x

Cause

  • Host logs reveal that one or more storage LUNs are experiencing timeouts for in-flight commands to the storage array. This typically indicates an issue with the storage array, communication paths, or underlying infrastructure, potentially leading to degraded performance or connectivity disruptions.

  • Host Status- [0x3] -TIME_OUT : This status is returned when the command in-flight to the array times out.

Resolution

  1. Reboot the host to regain access to all the VMs that are inaccessible because of sluggish ESXi behavior.

  2. Engage the storage or switch vendor to investigate the cause of the SCSI command failures.

    Note: Incase the impacted disk is in use on a vSAN node, place the vSAN node into maintenance mode to stabilize the vSAN cluster.

Additional Information

  • SCSI sense codes are used by storage devices to report detailed error and status information back to the initiator (OS, HBA, or hypervisor). Understanding them is essential for diagnosing disk, path, or array-level issues.
  • Refer to the following document for more details on SCSI Sense Codes: Interpreting SCSI sense codes in VMware ESXi
  • An Online utility to help decode SCSI sense codes from VMware ESXi logs into human-readable explanations: SCSI sense code decoder

Japanese version: hostd performance has degraded due to high system latency」のアラートが発生する