A VirtualMachineInstance (VMI) reported a guest CPU run‑queue length greater than 20 runnable or uninterruptible threads within the last scrape window (120s). This indicates severe CPU contention.
kubevirt_vmi_guest_vcpu_queue{namespace="$NS",name="$VM"}
The longer the queue is over 20, the more significant issues it might cause.
Check host CPU usage ```promql rate(kubevirt_vmi_cpu_usage_seconds_total{namespace=”$NS”,name=”$VM”}[2m]) `` If the CPU usage is more than 90%, migrate other VMs or mark the node as unschedulable, so that no new pods/VMs are placed on it.
Inspect guest processes
virtctl console <vm>
→ top -H
or pidstat -u 1
oc get vmi $VM -ojsonpath='{.spec.domain.cpu}'
If you cannot resolve the issue, see the following resources: