CPU load check and control backup

behinam

Well-Known Member
May 9, 2017
77
5
58
Dubay
cPanel Access Level
Root Administrator
Hello
is this possible set in WHM options like cpuwatch to control all cpu usage when any backup is running ( Even if done by the users).
i want control cpu load when any backup is running automatically
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hello,

I do believe
WHM>>Server Configuration >>Tweak Settings -> Extra CPU's for server load

Is what you're looking for. It will not allow the process to consume a large amount of CPU time depending on what value you place. The explanation of the setting is as follows:

The load average above the number of CPUs at which cpuwatch, cpanellogd, backups, and CPU stats consider the system to be in a critical load state. For example, a server with 4 physical CPUs and a value of 2 in this field will be considered “critical” in these cases once the load reaches 6.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hello @behinam

That's exactly what the above-mentioned setting controls. Once the load goes over 6 if cpuwatch is set to that it will pause the backup process until the load drops below the threshold.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Do also those settings Include commands run directly in ssh with root user or not?
Can you clarify what you mean please? The extra cpu's for server load setting is strictly for backups, cpuwatch, cpanellogd
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @behinam

Extra CPUs for server load
The load average above the number of CPUs at which cpuwatch, cpanellogd, backups, and CPU stats consider the system to be in a critical load state. For example, a server with 4 physical CPUs and a value of 2 in this field will be considered “critical” in these cases once the load reaches 6.
It's based off the physical CPU's so if you set that to 1 it would consider the threshold to be a load of 5 on the server.