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. Minio
  3. Minio as Backup - Timeout/Slowdown

Minio as Backup - Timeout/Slowdown

Scheduled Pinned Locked Moved Minio
backupsminio
20 Posts 4 Posters 6.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.
  • girishG girish

    @doodlemania2 Do you see any errors in the minio logs? I haven't seen any SlowDown event from minio.

    doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2
    App Dev
    wrote on last edited by
    #4

    @girish yeah, currently everything in Minio is set to default and backup config is also set to default (10 and can't go lower). I get lots of these:
    Dec 21 09:32:32 box:tasks 1719: {"percent":27.923076923076927,"message":"Retrying (5) copy of data/files/.... Error: SlowDown: A timeout exceeded while waiting to proceed with the request, please reduce your request rate 503 (media.apps.thedoodleproject.net)"}

    After a while, the timeouts go to Retrying (10) ... and the whole job goes boom. Restart picks up where it left off thankfully, but yeah.

    I dug around Minio configs - it looks "unlimited" by default, so I wonder if it is calculating 'limits' based on memory available - so I could turn RAM up or something.

    girishG 1 Reply Last reply
    0
    • doodlemania2D doodlemania2

      @girish yeah, currently everything in Minio is set to default and backup config is also set to default (10 and can't go lower). I get lots of these:
      Dec 21 09:32:32 box:tasks 1719: {"percent":27.923076923076927,"message":"Retrying (5) copy of data/files/.... Error: SlowDown: A timeout exceeded while waiting to proceed with the request, please reduce your request rate 503 (media.apps.thedoodleproject.net)"}

      After a while, the timeouts go to Retrying (10) ... and the whole job goes boom. Restart picks up where it left off thankfully, but yeah.

      I dug around Minio configs - it looks "unlimited" by default, so I wonder if it is calculating 'limits' based on memory available - so I could turn RAM up or something.

      girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #5

      @doodlemania2 Maybe we can ask on the upstream bug tracker as to what might cause this. I tried searching there but didn't find anything interesting.

      doodlemania2D 1 Reply Last reply
      1
      • girishG girish

        @doodlemania2 Maybe we can ask on the upstream bug tracker as to what might cause this. I tried searching there but didn't find anything interesting.

        doodlemania2D Offline
        doodlemania2D Offline
        doodlemania2
        App Dev
        wrote on last edited by
        #6

        @girish on it!

        doodlemania2D 1 Reply Last reply
        0
        • doodlemania2D doodlemania2

          @girish on it!

          doodlemania2D Offline
          doodlemania2D Offline
          doodlemania2
          App Dev
          wrote on last edited by
          #7

          @doodlemania2 https://github.com/minio/minio/issues/11147

          doodlemania2D 1 Reply Last reply
          1
          • doodlemania2D doodlemania2

            @doodlemania2 https://github.com/minio/minio/issues/11147

            doodlemania2D Offline
            doodlemania2D Offline
            doodlemania2
            App Dev
            wrote on last edited by
            #8

            @doodlemania2 They sent me here: https://github.com/minio/minio/tree/master/docs/config#api which is good for explaining how to adjust it, but was more hoping for an understanding of how it calculates it based on server resources. Suffice to say, I bumped it up to 8GB of RAM and the errors have vanished!

            robiR 1 Reply Last reply
            1
            • doodlemania2D doodlemania2

              @doodlemania2 They sent me here: https://github.com/minio/minio/tree/master/docs/config#api which is good for explaining how to adjust it, but was more hoping for an understanding of how it calculates it based on server resources. Suffice to say, I bumped it up to 8GB of RAM and the errors have vanished!

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #9

              @doodlemania2 whoa.. what was the RAM setting before?

              Sounds like it needs to release some memory more regularly before it's done with a long backup via rsync.

              Conscious tech

              doodlemania2D 1 Reply Last reply
              0
              • robiR robi

                @doodlemania2 whoa.. what was the RAM setting before?

                Sounds like it needs to release some memory more regularly before it's done with a long backup via rsync.

                doodlemania2D Offline
                doodlemania2D Offline
                doodlemania2
                App Dev
                wrote on last edited by
                #10

                @robi the app defaults - 256mb

                robiR 1 Reply Last reply
                0
                • doodlemania2D doodlemania2

                  @robi the app defaults - 256mb

                  robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #11

                  @doodlemania2 can you test it with other increments to see where the threshold is?

                  Conscious tech

                  doodlemania2D 1 Reply Last reply
                  0
                  • robiR robi

                    @doodlemania2 can you test it with other increments to see where the threshold is?

                    doodlemania2D Offline
                    doodlemania2D Offline
                    doodlemania2
                    App Dev
                    wrote on last edited by
                    #12

                    @robi Set it to 4GB and it slowed way down, so, I'd say anything below that would be too little.

                    robiR 1 Reply Last reply
                    0
                    • doodlemania2D doodlemania2

                      @robi Set it to 4GB and it slowed way down, so, I'd say anything below that would be too little.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #13

                      @doodlemania2 can you report your findings to the Minio team and see if they have a solution?

                      Conscious tech

                      doodlemania2D 1 Reply Last reply
                      0
                      • robiR robi

                        @doodlemania2 can you report your findings to the Minio team and see if they have a solution?

                        doodlemania2D Offline
                        doodlemania2D Offline
                        doodlemania2
                        App Dev
                        wrote on last edited by
                        #14

                        @robi I did - they recommended nothing less than 4GB for anything "production" worthy. As Cloudron's default is 256MB, that surely splains most of it.

                        robiR 1 Reply Last reply
                        0
                        • doodlemania2D doodlemania2

                          @robi I did - they recommended nothing less than 4GB for anything "production" worthy. As Cloudron's default is 256MB, that surely splains most of it.

                          robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #15

                          @doodlemania2 I hear you.

                          The question was more about optimizing that requirement and more frequent checkpoints or memory free events to not require an ever rising memory requirement of such large swings.

                          Conscious tech

                          doodlemania2D 1 Reply Last reply
                          1
                          • robiR robi

                            @doodlemania2 I hear you.

                            The question was more about optimizing that requirement and more frequent checkpoints or memory free events to not require an ever rising memory requirement of such large swings.

                            doodlemania2D Offline
                            doodlemania2D Offline
                            doodlemania2
                            App Dev
                            wrote on last edited by
                            #16

                            @robi will inquire!

                            G 1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              Gaurav
                              wrote on last edited by
                              #17

                              @doodlemania2 hey I am facing the same issue can you suggest to me where I can set the ram in Minio

                              robiR 1 Reply Last reply
                              0
                              • doodlemania2D doodlemania2

                                @robi will inquire!

                                G Offline
                                G Offline
                                Gaurav
                                wrote on last edited by
                                #18

                                @doodlemania2
                                hey I am facing the same issue can you suggest to me where I can set the ram in Minio

                                1 Reply Last reply
                                0
                                • G Gaurav

                                  @doodlemania2 hey I am facing the same issue can you suggest to me where I can set the ram in Minio

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #19

                                  @Gaurav it's not in minio, it's in Cloudron App Config for Minio.

                                  Conscious tech

                                  1 Reply Last reply
                                  1
                                  • girishG Do not disturb
                                    girishG Do not disturb
                                    girish
                                    Staff
                                    wrote on last edited by girish
                                    #20

                                    @Gaurav https://docs.cloudron.io/apps/#memory-limit

                                    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