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)?