Administer > Service Manager maintenance tasks > Areas of maintenance tasks > Queue monitoring tasks > Monitor the schedule dbdict and background schedulers

Monitor the schedule dbdict and background schedulers

Background processes that execute the tasks specified in records of the schedule dbdict are called background schedulers.

Monitor the schedule dbdict and the background schedulers multiple times a day, and take appropriate actions.

Idle time

Administrative action

> Sleep time

Restart the background process.

00:00:00

The scheduler is very busy or hanging.

To identify the schedule record processed, check schedule records with a status of "application running" for a Scheduled Class field that contains the process name. Rerun the query a few times and see if the schedule record returned is varying.

If varying, this is a load issue. If not, the background process was hanging during the processing of this schedule record.

Monitor the schedule records as described in the following table.

Status

Administrative action

Scheduled

or

empty status field

If a schedule record is not picked up although the expiration time has passed, the problem may be caused by any of the following:

  • The assigned scheduler is not running, or
  • There is too much load for the assigned scheduler, or
  • The scheduler is hanging on another record (see the “application running” status below).

application failed due to error - check msglog for possible messages

The System Administrator is required to analyze what made the processing of this task fail, decide if corrective actions are required to data records not being updated correctly, and take proactive actions to prevent this from happening to other similar tasks.

Schedule records in this status are not automatically removed for error analysis.

Over time, these records may have negative impact to system performance, and need to be removed either manually by the administrator or by a scheduled purging task. See Purge queue records

locked

This is typically a state during normal operations. However, if a schedule record stays in this state for a long time, the System Administrator is required to analyze and resolve this situation.

application running

Refresh the search for schedule records in “application running” state and verify by field ID, if always the same record is displayed.

If a background scheduler hangs, kill it from the status monitor and modify the Scheduled Class field of the schedule record that is not matching any background process name: This record requires to be analyzed later. Then restart the background scheduler, so that it continues to process other scheduled tasks assigned to it.