I have two queues in SGE for different purposes. Each of them has a limit in slots. What I want is to have only a certain number of jobs submitted to a queue waiting even when the other queue is idle. However, what I found is the additional jobs were assigned to the second queue. How should I change the configuration?

  • I'm not sure I understand your question. You want jobs to wait for a queue to become available, up until you reach a certain number of jobs, and only then utilize the other queue? Nov 17, 2011 at 19:31

1 Answer 1


You need to specify the queue name when submitting:

qsub -l qname=<queue name> ...

Then the other queue will not be used.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.