To resolve this issue, verify and modify the
sched.cpu.shares and/or
sched.mem.shares values in the virtual machine configuration file (.vmx) as needed.
To verify and modify the sched.cpu.shares and/or sched.mem.shares value within the virtual machine configuration file:
- Remove the virtual machine from the host or the vCenter Server inventory.
- Log in to the host via an SSH connection as root.
- Navigate to the path of the virtual machine configuration file.vmx.
- Locate these lines within the virtual machine configuration file:
sched.cpu.shares = -1
sched.mem.shares = -1
...
- If one or both values contain a negative value, open the file using a text editor and set the values of these parameters to normal:
Example:
sched.cpu.shares = normal
sched.mem.shares = normal
- Save and close the file.
- Add the virtual machine back to inventory.