Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4383  / 3 Years ago, sun, september 19, 2021, 2:00:21

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


More From » server

 Answers
2

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


[#42638] Sunday, September 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mance

Total Points: 198
Total Questions: 105
Total Answers: 128

Location: South Georgia
Member since Mon, Aug 16, 2021
3 Years ago
;