100% CPU-Limit in every app (Cloudron v. 8.0.4)
-
A quick check on two different Cloudron instances shows me 100% CPU-Limit in every installed app. Is it a UI bug or something else?
Same on my.demo.cloudron.io -
@luckow the cpu shares feature of old release was removed entirely and replaced with a similarly sounding "cpu quota" feature. See https://blog.cloudron.io/cloudron-8-0-released/ the "App Resources" section.
The CPU shares thing was quite hard to explain but it would throttle the CPU usage when the server was in heavy load. And the share value was a proportion wrt to the other apps. If you set the value to say 100%, it was hard to see what the value does because the value comes into picture only when CPU is in full load.
The new CPU quota thing is more straightforward - it's how the max CPU you want to allocate to a process. If you have a 4 core machine and make it 50%, it will use max 2 cores. If the app goes crazy , it will only use max 2 core ever. This value is more ease to experiment with. Just open a webterminal and run some cpu loop, you will see that it doesn't bring down the server. (htop on server will show only 2 cores maxed out)
-
there is an icon with a question mark at the header of the slider leading to the explanation: https://docs.cloudron.io/apps/#cpu-quota
-
@luckow the cpu shares feature of old release was removed entirely and replaced with a similarly sounding "cpu quota" feature. See https://blog.cloudron.io/cloudron-8-0-released/ the "App Resources" section.
The CPU shares thing was quite hard to explain but it would throttle the CPU usage when the server was in heavy load. And the share value was a proportion wrt to the other apps. If you set the value to say 100%, it was hard to see what the value does because the value comes into picture only when CPU is in full load.
The new CPU quota thing is more straightforward - it's how the max CPU you want to allocate to a process. If you have a 4 core machine and make it 50%, it will use max 2 cores. If the app goes crazy , it will only use max 2 core ever. This value is more ease to experiment with. Just open a webterminal and run some cpu loop, you will see that it doesn't bring down the server. (htop on server will show only 2 cores maxed out)
-
-
Thanks for the explanation. In future I will read the release notes before asking questions
-