Try our new documentation site (beta).
Changing the Job Limit
Each node of a Remote Services has a job limit, which indicates the maximum number of jobs that can be run simultaneously on that node. This job limit can be changed using the grbcluster node config command, together with the —job-limit= flag. For example, to change the job limit to 5:
> grbcluster node config --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 limit for each node in a cluster:
> grbcluster nodes ID ADDRESS STATUS TYPE LICENSE PROCESSING #Q #R JL IDLE %MEM %CPU b7d037db server1:61000 ALIVE COMPUTE VALID ACCEPTING 0 0 2 19m 15.30 5.64 735c595f server2:61000 ALIVE COMPUTE VALID ACCEPTING 0 0 2 19m 10.45 8.01The 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 node config --server=server1:61000 --job-limit=5
By rerunning the nodes command, we can see that the limit for server1 has been changed to 5:
> grbcluster nodes ID ADDRESS STATUS TYPE LICENSE PROCESSING #Q #R JL IDLE %MEM %CPU b7d037db server1:61000 ALIVE COMPUTE VALID ACCEPTING 0 0 5 19m 15.30 5.64 735c595f server2:61000 ALIVE COMPUTE VALID ACCEPTING 0 0 2 19m 10.45 8.01