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. How does the memory management work with regards to "low on resources" message when deploying a new app?

How does the memory management work with regards to "low on resources" message when deploying a new app?

Scheduled Pinned Locked Moved Solved Support
memoryresources
7 Posts 4 Posters 1.3k Views 4 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.
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by girish
      #1

      Hi there,

      Somewhat new user of Cloudron and for the first time I ran into a message when I tried to deploy the new BookStack app, which states "This Cloudron is running low on resources". However when I look at the Graphs page, I see plenty of memory available (most cached though) and the charts show low usage.

      It's unclear to me why I'd be told it's low on resources. Is it because it checks based on if every app deployed ran up to their max allotment, for example? Looking to understand the logic behind that message, how it determines that it's low on resources when the graphs would seem to indicate otherwise.

      Trying to determine if I should be concerned and upgrade my VPS or if realistically I'm perfectly fine still for a bit of growth yet.

      By the way, the BookStack app only requires 256 MB of memory, so based on the graphs it should have been fine as I have a few GBs left to go on the system.

      8bf906f5-4688-42da-aafb-1aca8db19410-image.png

      EDIT: I should add that I recently installed nodebb which has a minimum requirement of 1GB even though it's currently only using about 200 MB, so I am suspecting that it is since it's max allocation for that app would run 1/4 of my whole system currently. Guessing the warning is based on max allotment of all apps combined and then seeing what's left over. If so, this should perhaps be improved though to be clarified or with a link to the documentation where a new section would be written about memory management and how it works.

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        The warning message is displayed based on the calculation of maximum memory limits of installed apps. So it is a recommendation, as you will run out of memory, in case all apps are close to their set memory limit. Often they are well below it, but since this is dynamic we cannot warn during installation of a new app based on that dynamic value. Basically the warning shows on a more conservative calculation.

        1 Reply Last reply
        1
        • d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by d19dotca
          #3

          @d19dotca said in How does the memory management work with regards to "low on resources" message when deploying a new app?:

          be improved though to be clarified or with a link to the documentation where a new section would be written about memory management and how it works.

          Ah okay, thank you for the clarification. I had just added an edit to my post at the same time as you confirmed it too.

          Might I suggest this be improved though to be clarified or with a link to the documentation where a new section would be written about memory management and how it works. I'm in support for my day job so I always go "How can I keep users from needing to contact me", haha, and basically write out as much documentation as needed to prevent calls and stuff. This may make it easier for users going forward too as you have more onboard to Cloudron. 🙂

          --
          Dustin Dauncey
          www.d19.ca

          jdaviescoatesJ 1 Reply Last reply
          2
          • d19dotcaD Offline
            d19dotcaD Offline
            d19dotca
            wrote on last edited by
            #4

            Additionally, are we able to lower the minimum requirements for some apps? For example, I have nodebb deployed which requires 1 GB however it's using less than 200 MB and I can't see it using much more as the use of it is very early stages and will be low overall for the foreseeable future. Seems like a waste of about 750 MB to me, which is a fair bit of memory when on a smaller VPS.

            --
            Dustin Dauncey
            www.d19.ca

            1 Reply Last reply
            1
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              The memory limit set for apps does not mean that the memory cannot be used otherwise. This is just the upper limit at which the app gets restarted. Given that Cloudron has to strike a good default over various use-cases for the same apps, the limit is a bit conservative, but you can totally ignore that warning during installation as long as you keep an eye on the actual memory usage in your case.

              1 Reply Last reply
              1
              • d19dotcaD d19dotca

                @d19dotca said in How does the memory management work with regards to "low on resources" message when deploying a new app?:

                be improved though to be clarified or with a link to the documentation where a new section would be written about memory management and how it works.

                Ah okay, thank you for the clarification. I had just added an edit to my post at the same time as you confirmed it too.

                Might I suggest this be improved though to be clarified or with a link to the documentation where a new section would be written about memory management and how it works. I'm in support for my day job so I always go "How can I keep users from needing to contact me", haha, and basically write out as much documentation as needed to prevent calls and stuff. This may make it easier for users going forward too as you have more onboard to Cloudron. 🙂

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by jdaviescoates
                #6

                @d19dotca said in How does the memory management work with regards to "low on resources" message when deploying a new app?:

                Might I suggest this be improved though to be clarified or with a link to the documentation where a new section would be written about memory management and how it works. I'm in support for my day job so I always go "How can I keep users from needing to contact me", haha, and basically write out as much documentation as needed to prevent calls and stuff. This may make it easier for users going forward too as you have more onboard to Cloudron.

                +1

                I just had this exact same experience.

                There is plenty of spare RAM on my system, but I just got that "This Cloudron is running low on resources" message.

                Now I know how it's worked out I understand.

                A link (ideally to docs, or failing that just to this thread) ought to be added to the notification that explains how it all works and how in many case the warning can be ignored.

                I use Cloudron with Gandi & Hetzner

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

                  Here we go : https://docs.cloudron.io/apps/#low-resource-warning

                  1 Reply Last reply
                  4
                  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