Backup of Azure VM failed with error: UserErrorResourceContentionOnVM

Yugesh Tatikonda 0 Reputation points
2024-07-05T12:10:37.9433333+00:00

How to resolve Resource contention on Rocky Linux VM.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,584 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,943 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
342 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deepanshukatara-6769 8,060 Reputation points
    2024-07-05T12:55:16.2366667+00:00

    Hi,

    To troubleshoot resource contention on your Rocky Linux VM, we recommend using Perfinsights to collect performance data and pinpoint resource contention. Here are the steps to follow:

    1. Download and install Perfinsights on your Rocky Linux VM by following the instructions provided in this article. article 2
    2. Run Perfinsights and wait for it to collect ad hoc data on the server.
    3. Once completed, review the performance report generated by Perfinsights to identify any resource contention issues.
    4. Based on the results of Perfinsights, make adjustments to your environment such as upgrading storage or virtual machine size as necessary.

    If you need further assistance, please let me know.

    Kindly accept answer if it helps

    Thanks

    Deepanshu


  2. Prrudram-MSFT 23,211 Reputation points
    2024-07-08T09:23:51.25+00:00

    Hello @Yugesh Tatikonda

    The error message "UserErrorResourceContentionOnVM" indicates that there was a resource contention issue while attempting to back up your Azure VM. This error can occur if there are not enough resources available on the VM or if there are other processes running on the VM that are consuming too many resources.

    Here are some steps you can take to troubleshoot the issue:

    Check the resource utilization of the VM. You can use the Azure portal or Azure CLI to view the CPU and memory utilization of the VM. If the utilization is high, you may need to increase the size of the VM or optimize the workload running on the VM to reduce resource consumption.

    Check if there are any other processes running on the VM that are consuming too many resources. You can use the Task Manager or Resource Monitor on the VM to identify any processes that are consuming a lot of CPU or memory.

    Check if there are any other backup or restore operations running on the VM. If there are multiple backup or restore operations running on the VM at the same time, it can cause resource contention issues.

    Check if there are any other Azure services or resources running on the same physical hardware as the VM. If there are other services or resources running on the same hardware, it can cause resource contention issues.

    Check if there are any network connectivity issues between the VM and the backup vault. You can use the ping command to test connectivity between the VM and the backup vault.

    If none of these steps resolve the issue, you may need to contact Microsoft support for further assistance. If I have answered your query, please click "Accept as answer" as a token of appreciation

    0 comments No comments