Runbook

High CPU Usage on Azure Windows VM

Back to Runbooks

Overview

This incident type refers to a situation where a Windows Virtual Machine (VM) running on Microsoft Azure cloud platform is utilizing an abnormally high amount of CPU resources. This can cause performance issues and impact the overall functionality of the VM. The cause of high CPU usage can be due to various factors such as running resource-intensive applications, misconfigured VM settings, or insufficient resources allocated to the VM. Resolving this incident requires identifying the root cause and taking appropriate actions such as optimizing the VM settings, adjusting resource allocation, or optimizing the application code.

Parameters

Debug

Look at the processes using the most CPU

Verify if the VM is undersized or oversized for the workload

Check if any resource-intensive application is running on the VM

Check if any scheduled tasks or scripts are running on the VM

Verify if the VM is running with the latest version of the Azure VM agent

Repair

Use azure cli to resize the VM and give it more resources

Lower the priority class of processes which are using high cpu using powershell commands

Use powershell to kill a specific process which is using high cpu

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.