Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Using Ubuntu Server an AWS micro box, so if the cpu utilization spikes AWS will virtually kill the CPU for the box (for about 30 sec).

nice doesn't solve the problem, but cpulimit does (I use it in my own cpu intensive cron jobs).

Some system default cron jobs are triggering the AWS cpu limiter.

There are about 15 default cron job scripts, rather than trying to re-write every one to use cpulimit, is there a way I can use cpulimit to limit the cpu of all cron jobs (that would have to include the sub processes that are spawned by the various scripts)?

share|improve this question
up vote 1 down vote accepted

It looks like I found the answer to my question, great stuff here: a cpulimit daemon script that works box-wide.

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.