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. Unable to set 4 GB of service memory limits, only get 3.75 or 4.25 GB, also allows double memory than system available

Unable to set 4 GB of service memory limits, only get 3.75 or 4.25 GB, also allows double memory than system available

Scheduled Pinned Locked Moved Support
19 Posts 6 Posters 2.8k 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.
  • P Offline
    P Offline
    p44
    translator
    wrote on last edited by p44
    #2

    Dear all,

    I would like to configure 512 Mb as Redis Memory Limit, but with drag & drop selector it seems that is almost impossible...

    alt text

    When I drag, system let me select 256 > 384 > 640, but not 512.

    So, feature request is to add ability to allow manual writing of value, eg. in a text box.

    Thank's a lot

    1 Reply Last reply
    1
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #3

      Given that this is just the upper limit and even then the allocated limit might end up slightly different anyways for the real container, it doesn't make too much sense to give exact values.

      P jdaviescoatesJ 2 Replies Last reply
      0
      • nebulonN nebulon

        Given that this is just the upper limit and even then the allocated limit might end up slightly different anyways for the real container, it doesn't make too much sense to give exact values.

        P Offline
        P Offline
        p44
        translator
        wrote on last edited by
        #4

        @nebulon I cannot setup 512 value with actual system, I can only select 384 or 640...

        I did, but I had to change screen resolution to "catch" 512 value...

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

          Maybe when we rework that bit in the UI or the slider widget, we can add something more explicit, but given that the actual value-add here is close to nothing, I think we have other things to spend time on for the moment. I get the ocd trigger for such values though...

          1 Reply Last reply
          1
          • P Offline
            P Offline
            p44
            translator
            wrote on last edited by
            #6

            @nebulon Ok! this could be a good solution

            1 Reply Last reply
            0
            • nebulonN nebulon

              Given that this is just the upper limit and even then the allocated limit might end up slightly different anyways for the real container, it doesn't make too much sense to give exact values.

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

              @nebulon said in Redis Memory Limit: possibility to write value:

              Given that this is just the upper limit and even then the allocated limit might end up slightly different anyways for the real container,

              I don't fully understand this.

              @nebulon said in Redis Memory Limit: possibility to write value:

              it doesn't make too much sense to give exact values.

              Maybe so (although I still don't really understand why not), but it does make sense to improve what is currently really rather bad UX.

              Myself and quite a few others (see e.g. here and here) have I think mentioned the difficulty in selecting the values we want quite a few times previously and it still bugs me every time I have to do it.

              Perhaps just add some little up/ down arrows the allow it to be moved in small increments or something? 🤷

              Either way, whilst I agree it's not that important in the overall scheme of things, it remains frustrating, and in contrast to the rest of Cloudron which generally has a really nice smooth UX 🙂

              I use Cloudron with Gandi & Hetzner

              P girishG 2 Replies Last reply
              4
              • jdaviescoatesJ jdaviescoates

                @nebulon said in Redis Memory Limit: possibility to write value:

                Given that this is just the upper limit and even then the allocated limit might end up slightly different anyways for the real container,

                I don't fully understand this.

                @nebulon said in Redis Memory Limit: possibility to write value:

                it doesn't make too much sense to give exact values.

                Maybe so (although I still don't really understand why not), but it does make sense to improve what is currently really rather bad UX.

                Myself and quite a few others (see e.g. here and here) have I think mentioned the difficulty in selecting the values we want quite a few times previously and it still bugs me every time I have to do it.

                Perhaps just add some little up/ down arrows the allow it to be moved in small increments or something? 🤷

                Either way, whilst I agree it's not that important in the overall scheme of things, it remains frustrating, and in contrast to the rest of Cloudron which generally has a really nice smooth UX 🙂

                P Offline
                P Offline
                p44
                translator
                wrote on last edited by
                #8

                @jdaviescoates said in Redis Memory Limit: possibility to write value:

                Perhaps just add some little up/ down arrows the allow it to be moved in small increments or something?

                Very good advice... up/down will be much more better

                1 Reply Last reply
                1
                • jdaviescoatesJ jdaviescoates

                  @nebulon said in Redis Memory Limit: possibility to write value:

                  Given that this is just the upper limit and even then the allocated limit might end up slightly different anyways for the real container,

                  I don't fully understand this.

                  @nebulon said in Redis Memory Limit: possibility to write value:

                  it doesn't make too much sense to give exact values.

                  Maybe so (although I still don't really understand why not), but it does make sense to improve what is currently really rather bad UX.

                  Myself and quite a few others (see e.g. here and here) have I think mentioned the difficulty in selecting the values we want quite a few times previously and it still bugs me every time I have to do it.

                  Perhaps just add some little up/ down arrows the allow it to be moved in small increments or something? 🤷

                  Either way, whilst I agree it's not that important in the overall scheme of things, it remains frustrating, and in contrast to the rest of Cloudron which generally has a really nice smooth UX 🙂

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  @jdaviescoates said in Redis Memory Limit: possibility to write value:

                  Perhaps just add some little up/ down arrows the allow it to be moved in small increments or something? 🤷

                  I like this idea too. I am not sure where we picked this bizzare slider from 😄

                  1 Reply Last reply
                  4
                  • humptydumptyH Offline
                    humptydumptyH Offline
                    humptydumpty
                    wrote on last edited by
                    #10

                    In my CAD software, the sliders can be clicked on, and then you can manually enter a value. The best of both worlds. Maybe we can implement this method.

                    girishG 1 Reply Last reply
                    3
                    • humptydumptyH humptydumpty

                      In my CAD software, the sliders can be clicked on, and then you can manually enter a value. The best of both worlds. Maybe we can implement this method.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #11

                      @humptydumpty Do you have a screenshot you can share?

                      1 Reply Last reply
                      1
                      • humptydumptyH Offline
                        humptydumptyH Offline
                        humptydumpty
                        wrote on last edited by
                        #12

                        Sure. Uno momento.

                        1 Reply Last reply
                        1
                        • humptydumptyH Offline
                          humptydumptyH Offline
                          humptydumpty
                          wrote on last edited by humptydumpty
                          #13

                          Front End
                          image.png

                          I can't upload a MP4 video (less than 1mb). Not enough permission. In the video it shows an alternative method where you can click on the slider and input a value.

                          Here's a screenshot showing a slider in default state and when it's clicked on.

                          01882ecc-9e51-444b-9f4d-514a587d42dd-image.png

                          I found an online website to conver the mp4 to gif!

                          slider_backend.gif

                          1 Reply Last reply
                          5
                          • P Offline
                            P Offline
                            p44
                            translator
                            wrote on last edited by p44
                            #14

                            @d19dotca Months ago I suggested to make those values editable... I agree: is frustrating.

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

                              I think most UI points are already touched on in the other forum thread @p44 linked. So lets treat the original thread as the feature request. I will merge this into the other then.

                              For the memory limit as such, this is just the upper limit and not some memory allocation. Also the limit is half RAM and half swap, thus "doubling" effect. And well, exact values do help probably with OCD triggering, but otherwise it has no real impact for the system itself 🙂

                              jdaviescoatesJ d19dotcaD 2 Replies Last reply
                              1
                              • nebulonN nebulon

                                I think most UI points are already touched on in the other forum thread @p44 linked. So lets treat the original thread as the feature request. I will merge this into the other then.

                                For the memory limit as such, this is just the upper limit and not some memory allocation. Also the limit is half RAM and half swap, thus "doubling" effect. And well, exact values do help probably with OCD triggering, but otherwise it has no real impact for the system itself 🙂

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

                                @nebulon said in Unable to set 4 GB of service memory limits, only get 3.75 or 4.25 GB, also allows double memory than system available:

                                just the upper limit

                                @nebulon said in Unable to set 4 GB of service memory limits, only get 3.75 or 4.25 GB, also allows double memory than system available:

                                no real impact for the system itself

                                I still don't really get this statement you keep repeating.

                                Surely the upper limit does have a real impact, in that it sets the upper limit, which effects the upper limit of how much RAM an app can use, no? 🤔 (and hence the whole point of having the setting in the first place, and why one has to increase the limit when apps keep running out of memory)

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                1
                                • nebulonN Away
                                  nebulonN Away
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #17

                                  The comment was about the value itself, a couple of megabytes lower or higher won't have any practical impact on the system, especially not if the system has a lot of memory.

                                  jdaviescoatesJ 1 Reply Last reply
                                  0
                                  • nebulonN nebulon

                                    The comment was about the value itself, a couple of megabytes lower or higher won't have any practical impact on the system, especially not if the system has a lot of memory.

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

                                    @nebulon OK, but in the "Unable to set 4 GB of service memory limits, only get 3.75 or 4.25 GB" example 250MB is more than "a couple", and lots of people don't have lots of RAM as most people are running the cheapest VPS they can.

                                    (although personally I've currently got a server with more RAM than I use and so have given up on my OCD about this and just randomly click any higher number when an app runs out of ram, a better UX is clearly needed and the lack of it causing frustration)

                                    I use Cloudron with Gandi & Hetzner

                                    1 Reply Last reply
                                    1
                                    • nebulonN nebulon

                                      I think most UI points are already touched on in the other forum thread @p44 linked. So lets treat the original thread as the feature request. I will merge this into the other then.

                                      For the memory limit as such, this is just the upper limit and not some memory allocation. Also the limit is half RAM and half swap, thus "doubling" effect. And well, exact values do help probably with OCD triggering, but otherwise it has no real impact for the system itself 🙂

                                      d19dotcaD Offline
                                      d19dotcaD Offline
                                      d19dotca
                                      wrote on last edited by
                                      #19

                                      @nebulon I’m not sure I understand… if my server had 128 GB to set, why does Cloudron allow me to set nearly 256 GB? That doesn’t make sense to me.

                                      --
                                      Dustin Dauncey
                                      www.d19.ca

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