"Unable to apply DRS resource settings on host" error in vCenter Server
search cancel

"Unable to apply DRS resource settings on host" error in vCenter Server

book

Article ID: 344925

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0 VMware vSphere ESXi 7.0 VMware vSphere ESXi 6.0 VMware vCenter Server 8.0 VMware vCenter Server 7.0 VMware vCenter Server 6.0

Issue/Introduction

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

Environment

This issue impacts vCenter & ESXi 6.x, 7.x, and 8.x.

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, VCD, 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:

  1. Place the host into maintenance mode.
Note: If DRS does not migrate the virtual machines to other hosts, migrate them manually.
  1. Ensure that no virtual machines are running on the host.
  2. Remove the ESXi/ESX host by dragging it out of the cluster.
  3. Re-add the ESXi/ESX host by dragging it into the cluster.
  4. Exit from maintenance mode.

Additional Information