Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

On our cluster I could use up all the slots with the current configuration of sge. I don't want to overuse my privileges by accident / check at every submit.

Is there a way to impose a hard limit on the number of slots my jobs can use?

I don't have manager rights, so I can't do as in the question "How can I set the maximum number of running jobs per user on SGE?" Although that would be exactly what I am after.

share|improve this question

If you are using a recent grid engine and you are submitting a bunch of jobs with identical resource requirements you could try submitting as a single array job limited by the -tc switch. The following command would submit a job of 100000 tasks but only run 100 at a time:

qsub -t 1-100000 -tc 100
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.