jlesage / docker-crashplan-pro

Docker container for CrashPlan PRO (aka CrashPlan for Small Business)
290 stars 39 forks source link

cgroup to limit the cpu performance #412

Closed BigBen2003 closed 1 year ago

BigBen2003 commented 1 year ago

Can you limit the CPU performance?

The Crashplan service is currently grabbing almost all of the available CPU power from the NAS. As a result, a performance alarm is constantly triggered in the NAS.

If the parameters --cpu="1,5" --cpu-shares=900 are specified, the following error message is thrown:

docker: Error response from daemon: NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted.

Is it possible to activate the cgroup?

BigBen2003 commented 1 year ago

The CPU performance can be limited via the Crashplan Console. The limit can be set as a percentage per device.

If both percentages (depending on the user's presence and absence) are set to 30%, for example, only 30% of the available CPU performance is used.