Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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? – Kamil Kisiel Nov 17 '11 at 19:31

You need to specify the queue name when submitting:

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

Then the other queue will not be used.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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