Host Lifecycle Operations from vSphere 6.7.x Fail with "MemoryError"
search cancel

Host Lifecycle Operations from vSphere 6.7.x Fail with "MemoryError"


Article ID: 366995


Updated On:


VMware vSphere ESX 6.x


  • esxcli update from 6.7 paths fail due to limited hostd resource pool while using the production url - as the end point. An example failure is below:
    • [root@localhost:~] esxcli software profile update --depot --profile ESXi-6.7.0-20210304001-standard
Please refer to the log file for more details.

/var/log/esxupdate.log shows the following errors:

2023-08-25T17:33:29Z esxupdate: 2100187: Metadata.pyc: INFO: Processing file plugin.vmsg^@
2023-08-25T17:33:29Z esxupdate: 2100187: Metadata.pyc: INFO: Unrecognized file vibExports/esx-base-8.0.1_0.25.22088125/config/psa_claim_rules/locale/en/plugin.vmsg in Metadata file^@
2023-08-25T17:33:29Z esxupdate: 2100187: imageprofile: INFO: Adding VIB VMware_locker_tools-light_10.3.10.12406962-14320388 to ImageProfile (Updated) ESXi-6.7.0-14320388-standard^@
2023-08-25T17:33:34Z esxupdate: 2100187: esxupdate: ERROR: An unexpected exception was caught:^@
2023-08-25T17:33:34Z esxupdate: 2100187: esxupdate: DEBUG: <<<^@

Using the above PID (2100187) the /var/log/vmkernel.log shows the following:

2023-08-25T17:33:34.673Z cpu1:2100187)MemSchedAdmit: 471: Admission failure in path: hostd/python.2100187/uw.2100187
2023-08-25T17:33:34.673Z cpu1:2100187)MemSchedAdmit: 478: UserWorld 'python' with cmdline '/usr/bin/python /usr/sbin/esxupdate --HA'
2023-08-25T17:33:34.673Z cpu1:2100187)MemSchedAdmit: 489: uw.2100187 (17210) extraMin/extraFromParent: 36/36, hostd (756) childEmin/eMinLimit: 78577/78592



This issue is caused by a hostd resource pool limitation in ESXi 6.7. 


There are two potential workarounds for the issue:

  1. Perform a VUM ISO based upgrade.
  2. Use esxcli profile update using an offline depot.