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

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.

Search