Symptoms
An ESX host in vCenter Server reports the error:Unable to apply DRS resource settings on host. The operation is not allowed in the current state. This can significantly reduce the effectiveness of DRS.WARNING: UserDuct: 184: Cannot allocate a new data segment, out of memory
Resolution
This warning does not have a direct impact on production virtual machines but can result in resource contention within the cluster if DRS is not functioning correctly.
To resolve this issue, restart the management agents (hostd and vpxa) on the host.
/etc/init.d/hostd restart/etc/init.d/vpxa restart
Workaround
Warning: The following steps should not be executed on a VSAN, NSX, or Horizon View-enabled cluster.If the problem persists after restarting the management agents, remove the host from the cluster and then re-add it:
Place the host into maintenance mode.
Note: If DRS does not migrate the virtual machines to other hosts, migrate them manually.
Ensure that no virtual machines are running on the host.Remove the ESXi/ESX host by dragging it out of the cluster.Re-add the ESXi/ESX host by dragging it into the cluster.Exit from maintenance mode.
Related Information
VMware Skyline Health Diagnostics for vSphere - FAQ"Unable to apply DRS resource settings on host" warning in summary tab of the ESXi host Restarting the Management agents in ESXiEl host ESX/ESXi en vCenter Server informa el error: No se puede aplicar la configuración de recursos DRS en el host. La operación no está permitida en el estado actualvCenter Server 中出现 “无法在主机上应用 DRS 资源设置 (Unable to apply DRS resource settings on host)” 错误vCenter Server の「DRS リソース設定をホストに適用できません (Unable to apply DRS resource settings on host)」エラー