Tune 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.
Tasks
- 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, we 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.
- Change the polling interval for the deployment manager as needed.
- Click System administration > Deployment manager > Job managers > UUID.
- Change the value for the polling interval setting.
- Save the changes and restart the deployment manager.
- Change the polling interval, as needed, for each node an administrative agent manages.
- Click System administration > Administrative agent > Nodes > node > Job managers > Job manager UUID.
- Change the value for the polling interval setting.
- After changing the setting for all the nodes an administrative agent manages, save the changes and restart the administrative agent.
We 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.
Administer nodes remotely using the job manager Restart the deployment manager Restart the administrative agent startServer command