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 Cloudron running low on resources.... memory - I have 20GB of ram free though

    Support
    5
    6
    229
    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.
    • scooke
      scooke last edited by

      I have a VPS with 24Gb of RAM. I have 19 apps. When I look at the Graphs the RAM usage is no more than 5 GB. But when I went to add the 20th app (Monica) I received this popup warning:
      This Cloudron is running low on resources. Please upgrade to a server instance with more memory. Alternately, free up resources by uninstalling unused applications.
      But my Graphs show that I have 20 GB of RAM unused. Is the warning about spikes or something?

      Is it taking into account the RAM requirements for each installed app which would total 29.5GB? Is this why I get this warning?

      A life lived in fear is a life half-lived

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

        Can you take a look at the RAM usage in the VPS dashboard? Its possible Cloudron is misreporting memory usage, your VPS dashboard may give a more accurate picture.
        Another check would be, can you add any other app? Maybe try something really light and small. (smaller than monica) perhaps we are bumping into an app limit somewhere.

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

          @scooke said in Cloudron running low on resources.... memory - I have 20GB of ram free though:

          Is it taking into account the RAM requirements for each installed app which would total 29.5GB? Is this why I get this warning?

          Yes. Each app all have generous amounts of dedicated memory assigned to them. I read in the docs that each app is/should be configured for around 50 concurrent users.

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

            The calculation is actually very basic and not related to real memory use at the time of install. Basically it just checks if the cumulative memory limits (not used/free memory) configured for all installed apps, is lower than system memory * 1.5 (where the factor 1.5 is just a arbitrary number to ensure the non app processes have enough) If that is not the case, we show that warning.

            This could possibly improved on, especially the 1.5 factor might be a bit large for systems with a lot of memory.

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

              I have just noticed this in one of my Cloudrons. Investigating why.

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

                Indeed, there was a bug which is now fixed for the next release.

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