This incident type refers to a problem with high CPU usage on a virtual machine (VM) hosted on Google Cloud Platform (GCP). Users may experience slow performance or even complete unresponsiveness from their VM due to the excessive processing load. To resolve the issue, users may need to run Linux commands directly on the VM or use GCP CLI compute commands to diagnose the root cause of the problem. Remediations may involve changing the instance type or resizing some aspects of the GCP VM to optimize its performance.
Parameters
Debug
1. List all VM instances in the project
2. SSH into the problematic VM instance
3. Check CPU usage using top command
4. Check CPU usage by process using ps command
5. Check CPU usage by thread and sort in descending order
Repair
Upgrade the VM instance type to one with more CPU cores, memory, or storage capacity to handle the workload.
Learn more
Related Runbooks
Check out these related runbooks to help you debug and resolve similar issues.