When performing remediation or staging tasks via vSphere Lifecycle Manager (vLCM), ESXi hosts may fail with an "An internal error occurred while staging/remediating the host" message. This article provides instructions to troubleshoot and resolve this issue caused by resource limitations during patch processing.
An internal error occurred while staging/remediating the host/var/run/log/lifecycle.log contains: Unexpected error occurred while attempting to run Quick Patch scan scripts: secureMount returns status 255/var/log/vmkernel.log contains: Admission failure in path: host/vim/vmvisor/settingsd-task-forksThe settingsd-task-forks resource group on the ESXi host has insufficient memory configured to handle the execution of Python-based remediation tasks and certificate validation scripts. The default memory allocation is often insufficient for the metadata complexity involved in recent ESXi 8.0.3 patches.
Increase the memory allocation for the settingsd-task-forks resource group. This change does not require a host reboot and can be applied during operations.
localcli --plugin-dir=/usr/lib/vmware/esxcli/int sched group setmemconfig -g host/vim/vmvisor/settingsd-task-forks -m 450 -i 0 -l -1 -u mb-m value.If you continue to experience issues after adjusting the memory limit, please collect a support bundle from the host and vCenter Server for further analysis.
For information on how to collect logs, see .
To speak with a customer representative or a Support Engineer see . Scroll to the bottom of the page and click on your respective region.