Leostream Job Queue: Explained

Modified on Fri, 8 Nov at 11:15 AM

Release Date: 03/4/22
Modified Date: 11/08/24


The > System > Job Queue page, shown in the following figure, displays the Connection Broker work queue, including all completed, running, and pending jobs. You can modify the columns included on this page by clicking the Customize columns link at the top-right side of the page



Jobs are run for a number of different Connection Broker actions, such as: Agent scanning, Center scans, Gateway status checks, idle time actions, pool statistics, and desktop state checks and releases. The below table demonstrates the different statuses that a job can have:


Job Queue StatusDefinition
AbortedThe job unexpectedly quit
CancelledThe job was previously scheduled, but a user action or another job canceled it
FinishedThe job successfully ran
RunningThe job is currently running
PendingThe job is scheduled to run based on the Scheduled time



A job is created in the job queue with a scheduled time and in 'Pending' status.  The Connection Broker runs the job when the scheduled time is met, and the status then changes to 'Running'.  Most jobs run quickly, and change to 'Finished' status  when they are completed.   Recurring jobs, such as center scans, are rescheduled when they are finished and return to 'Pending' status.   State check jobs, such as wait_for_start, may also return to 'Pending' status and run again, if the expected state was not met. If an expected action in the Connection Broker hasn’t taken place, check if the action is pending in the job queue, and it's scheduled time is met.  


The Connection Broker delays jobs in the job queue if the server's load average is above four, or the number of 'Running' jobs exceeds the server's limit.   The server's job limit is associated with the number of CPUs in the Connection Broker server. Refer to the Connection Broker Job Limits KB for the job limits in your environment. You should also check the load average of the Connection Broker server and the Connection Broker component status if you find 'Pending' jobs with the scheduled time in the past. 


Additional information can be found in the Understanding ‘Pending’ Job Status KB and the 'Viewing the Job Queue' topic in our Administrator's Guide.


© Copyright 2023 Leostream Corporation