Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 down vote accepted

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

http://ubuntuforums.org/showthread.php?t=992706

share|improve this answer

Your Answer

 
discard

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.