Limit the total CPU usage for the entire system?
0
votes
0
answers
310
views
I'm running a Chrome instance on a NAT VPS. Being a NAT VPS it has some restrictions such not not allowing a 15min average load greater than 1. However, just starting and going to a few webpages causes the load to increase > 2 killing the instance.
I read about limiting CPU usage online but most are limited to a single process, whereas Chrome spawns multiple process. I've tried using
cpulimit
but it doesn't help since it can only be used on a single PID.
Is there a way I can limit the CPU usage of the entire system as a whole? Or atleast any process started by the chrome executable?
Thanks.
PS: The chrome instance is being started and controlled using Selenium on Python.
Asked by DentFuse
(35 rep)
Apr 11, 2023, 06:58 AM