Tuning the job polling interval

We can tune the polling interval that each deployment manager or admin 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 dmgrs 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 dmgr, the dmgr must be running. To configure the polling interval of an admin agent, the admin agent must be running.

The job manager processor usage increases as more nodes or dmgrs 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 nodes are registered. The threshold for the number of nodes 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 admin agent using the admin 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 dmgrs 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, determine the value on a case-by-case basis. With up to 100 nodes or dmgrs 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 dmgr as needed.

    1. Click System administration > Deployment manager > Job managers > UUID.

    2. Change the value for the polling interval setting.

    3. Save the changes and restart the dmgr.

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

    1. Click System administration > Administrative agent > Nodes > node_name > 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.

 

Next steps

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
Starting and stopping the dmgr
Starting and stopping the admin agent

Related reference

   



Last updated Nov 10, 2010 8:23:07 PM CST