Job was suspended as the job limit for a Hybrid Worker exceeded.

Mahesh Kumar Babu Kummara 45 Reputation points
2024-06-05T14:33:26.92+00:00

The automation job has failed with the below error for the last couple of weeks. I am looking for a solution for it.

Exception:

The job was suspended as the job limit for a Hybrid Worker was exceeded. Add more Hybrid Workers to the Hybrid Worker group to overcome this issue, see: https://aka.ms/HRW-polling-limit-exceed

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,162 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sohail Ali 315 Reputation points Microsoft Employee
    2024-06-06T06:58:44.1333333+00:00

    Mahesh Kumar Babu Kummara

    Jobs might get suspended due to any of the following reasons:

    • Each active Hybrid Worker in the group will poll for jobs every 30 seconds to see if any jobs are available. The Worker picks jobs on a first-come, first-serve basis. Depending on when a job was pushed, whichever Hybrid Worker within the Hybrid Worker Group pings the Automation service first picks up the job. A single hybrid worker can generally pick up four jobs per ping (that is, every 30 seconds). If your rate of pushing jobs is higher than four per 30 seconds and no other Worker picks up the job, the job might get suspended.
    • Hybrid Worker might not be polling as expected every 30 seconds. This could happen if the Worker isn't healthy or there are network issues.

    Resolutions :-

    • If the job limit for a Hybrid Worker exceeds four jobs per 30 seconds, you can add more Hybrid Workers to the Hybrid Worker group for high availability and load balancing. You can also schedule jobs so they do not exceed the limit of four jobs per 30 seconds. The processing time of the jobs queue depends on the Hybrid worker hardware profile and load. Ensure that the Hybrid Worker is healthy and gives a heartbeat.
    • Troubleshoot any network issues by checking the Microsoft-SMA event logs on the Workers in the Hybrid Runbook Worker Group that tried to run this job.
    • You can also monitor the HybridWorkerPing metric that provides the number of pings from a Hybrid Worker and can help to check ping-related issues.
    0 comments No comments