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

I have an ubuntu server and I am using it for cpu heavy verifications. I want to limit the number of simultaneous verifications to 10. Is there an easy way to limit the process called "vis" to being able run only 10 of them at the same time?

share|improve this question
Sounds like an application specific question, rather than OS. Should be some sort of config for it. – Brian Knoblauch Sep 23 '10 at 17:07
How are they being launched? – Dennis Williamson Sep 23 '10 at 17:19
@Brian : i know how to do it in application, I was just looking for an easier solution – Viperus Sep 27 '10 at 16:42
up vote 1 down vote accepted

ulimit is the command to make these types of restrictions.
I would recommend you make a user called visuser and add the following line to the .bashrc file:

ulimit -u 10

You might have to make it 11 though to make up for the shell.

share|improve this answer

Your Answer


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