Tuning the job polling interval

We can tune the polling interval that each deployment manager or administrative agent uses to poll the job manager for jobs. The default polling interval is 30 seconds. With a larger polling interval, the rate at which the deployment managers or administrative agent contact the job manager decreases, which alleviates high processor usage. With a lower polling interval, jobs start running sooner.

To configure the polling interval of a deployment manager, the deployment manager must be running.

To configure the polling interval of an administrative agent, the administrative agent must be running.

The job manager processor usage increases as more nodes or deployment managers are registered with the job manager. This increase occurs even if a job is not submitted to the job manager. The job manager eventually runs at 100 percent processor usage as more targets are registered. The threshold for the number of targets that we can register with the job manager without high processor usage depends on the hardware capability of the machine that runs it.

This topic describes how to change the polling interval for the deployment manager or administrative agent using the administrative console.

  1. Determine the polling interval to set to lower processor usage or to improve job processing.

    The default polling interval is 30 seconds. As the number of nodes or deployment managers that are registered with the job manager increases, the polling interval must increase to avoid high processor usage on the job manager. The actual value depends on the hardware that the job manager is running. However, you must determine the value on a case-by-case basis. With up to 100 nodes or deployment managers registered with the job manager, we might need a polling interval that is as long as 20 minutes.

  2. Change the polling interval for the deployment manager as needed.

    1. Click System administration > dmgr > Job managers > UUID.

    2. Change the value for the polling interval setting.

    3. Save the changes and restart the deployment manager.

  3. Change the polling interval, as needed, for each node that an administrative agent manages.

    1. Click System administration > Administrative agent > Nodes > node > Job managers > Job manager UUID.

    2. Change the value for the polling interval setting.

    3. After changing the setting for all the nodes that an administrative agent manages, save the changes and restart the administrative agent.


Results

You configured the polling interval.


What to do next

Monitor the processor usage on the job manager. If the processor usage is still high, increase the polling interval. If jobs take too long to start, lower the polling interval.


Related tasks

  • Administer nodes remotely using the job manager
  • Start and stop the deployment manager
  • Start and stop the administrative agent

  • startServer command