Documentation


Changing the Job Limit

Each node of a Remote Services has a job limit, which indicates the maximum of jobs that can be run simultaneously on that node. This job limit can be changed using the grbcluster config command, together the with --job-limit= flag. For example, to change the job limit to 5:

> grbcluster config --server=server1 --password=admin --job-limit=5

Changes to the job limit parameter only apply to the specified node; other nodes in the cluster are unaffected. Once changed, the new value will persist, even if you stop and restart the node.

Recall that you can run the nodes command to view the current job limits for each node in a cluster:

> grbcluster --server=server1 --password=admin nodes
ADDRESS STATUS TYPE    LICENSE #Q #R JL IDLE %MEM  %CPU
server1 ALIVE  COMPUTE VALID   0  0  2  29m  9.97  0.00
server2 ALIVE  COMPUTE VALID   0  0  2  30m  8.86  1.00
The JL column shows the job limit, which is 2 for both nodes in the cluster in this example.

We can change the limit for one node:

> grbcluster config --server=server1 --password=admin --job-limit=5

By rerunning the nodes command, we can see that the limit for server1 has been changed to 5:

> grbcluster --server=server1 --password=admin nodes
ADDRESS  STATUS TYPE    LICENSE #Q #R JL IDLE %MEM  %CPU
server1  ALIVE  COMPUTE VALID   0  0  5  1h7m 10.12 0.00
server2  ALIVE  COMPUTE VALID   0  0  2  1h6m 8.92  0.00