Genpact Cora Knowledge Center

Support

Jobs Stay Queued

Affected versions

8.x

Description

Most of the jobs executed in the system stay queued.
To view the list of queued jobs, in the Administration site, navigate to Global Settings > Jobs Management.

Cause

The number of free threads in the system is the same as the number of cores on the machine, which is generally eight. So, when the system doesn't have free threads, the jobs stay queued.

Solution

  1. In the JES configuration file, add this property maxConcurrencyLevel="2147483647" to the jobs hostId parameter, as follows:
    <jobs hostId="08dfd27c-7562-429f-af69-1811ffb4a28b" maxConcurrencyLevel="2147483647">
  2. Restart JES.

This configuration ensures that there are enough free threads for jobs execution.