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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Total RAM displayed twice the amount of actual total RAM

    Support
    memory
    3
    7
    209
    Loading More Posts
    • 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.
    • yusf
      yusf last edited by girish

      This is my VPS:

      1 vCPUs
      2GB / 50GB Disk
      

      Meanwhile in Cloudron:
      62ffb537-0eea-4260-95b7-547f6525e77d-bild.png

      This also applies to app resource allocation settings:

      c73b2f01-4ed9-4810-b2f6-f706205695a4-bild.png

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        The memory limit slider is showing RAM+Swap (the swapon command will tell you swap information).

        yusf 1 Reply Last reply Reply Quote 0
        • yusf
          yusf @girish last edited by

          @girish It’s quite confusing however.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            Mmm. I remember someone had mentioned this a while ago and we just put a doc note at https://cloudron.io/documentation/apps/#memory-limit (if you click the '?' next to memory limit, it will take you there).

            Maybe we can say Memory limit (includes swap) to make things a bit more clearer? And maybe in the graphs as well.

            1 Reply Last reply Reply Quote 2
            • yusf
              yusf last edited by

              Ah I see. But then maybe color half of the active part of the slider differently and add a color legend like so:
              🔵 RAM
              🟢 Swap

              1 Reply Last reply Reply Quote 2
              • nebulon
                nebulon Staff last edited by

                I liked your idea, however I can't find an easy way to make that possible with the slider component we use here. Instead for now I added the description from the docs inline next to the slider:

                Cloudron allocates 50% of this value as RAM and 50% as swap.
                

                Hope this helps for a start.

                yusf 1 Reply Last reply Reply Quote 1
                • yusf
                  yusf @nebulon last edited by

                  @nebulon It's a good start!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB