VMware Cloud Community
Raudi
Expert
Expert

CPU limit to "0"

Hi,

i just wanted to remove a CPU limit from a VM and set this to "0", i was thinking "0" is unlimited, i didn't noticed the drop down field whe i can select unilimited.

Now i got a problem!

A VM with a CPU limit to "0" freezes and it can't be modifyed, switched off or something else. Nothing can be done with that VM.

To resolve that issue i killed the VM tasks on the ESXi host.

Now i know this, i'm not doing it again, but perhaps there are others... VMware, please prevent here to enter a "0" in die limit!

Kind regards

Stefan

23 Replies
RodmacphersonWh
Contributor
Contributor

In case this happens again to someone else: 

 

Log into the ESXi host by CLI

Find the vm's World-ID with this command: 
esxcli vm process list

Then kill the process with this command:
esxcli vm process kill --type=force --world-id=<WORLD-ID>

Wait about 10-15 minutes for the change to reflect in the Web UI. 
Edit the VM and restart it. 

0 Kudos
depping
Leadership
Leadership

I already have a feature request outstanding to solve this problem, and as we speak it is being looked at.

0 Kudos
egizaberl
Contributor
Contributor

VMWare wtf!?!?! I have managed to destroy my heavy load production VM as it is allowed to enter 0 (i thought it means unlimited as other settings) and when you do that you cannot do anything with it anymore!!!!!!! You cannot change settings, stop/reboot VM, anything!!!!!

I didn't expect this from VMWare that it has that crappy option!!!

0 Kudos
RodmacphersonWh
Contributor
Contributor

Follow the instructions I left here last year. 

Log into the ESXi host by CLI

Find the vm's World-ID with this command: 
esxcli vm process list

Then kill the process with this command:
esxcli vm process kill --type=force --world-id=<WORLD-ID>

Wait about 10-15 minutes for the change to reflect in the Web UI. 
Edit the VM and restart it. 

This should get you back up and running

0 Kudos