Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. 100% CPU-Limit in every app (Cloudron v. 8.0.4)

100% CPU-Limit in every app (Cloudron v. 8.0.4)

Scheduled Pinned Locked Moved Solved Support
4 Posts 3 Posters 458 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by luckow
    #1

    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

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by girish
      #3

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

      1 Reply Last reply
      2
      • imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote on last edited by
        #2

        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

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #3

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

          1 Reply Last reply
          2
          • girishG girish has marked this topic as solved on
          • luckowL Offline
            luckowL Offline
            luckow
            translator
            wrote on last edited by
            #4

            Thanks for the explanation. In future I will read the release notes before asking questions 🙂

            Pronouns: he/him | Primary language: German

            1 Reply Last reply
            1
            • luckowL luckow has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search