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. Backup failed ERR_CHILD_PROCESS_STDIO_MAXBUFFER

Backup failed ERR_CHILD_PROCESS_STDIO_MAXBUFFER

Scheduled Pinned Locked Moved Solved Support
backups
8 Posts 3 Posters 965 Views 3 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.
  • B Offline
    B Offline
    balticpenguin
    wrote on last edited by girish
    #1

    Hi,

    my last backup failed with

    saveFsMetadata errored with code ERR_CHILD_PROCESS_STDIO_MAXBUFFER message stdout maxBuffer length exceeded

    I tried it again, but it crashes and I still get this error.
    Can anyone tell me what is going wrong and how I can fix it?

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

      I guess one of these buffer settings are not enough in your case: https://git.cloudron.io/cloudron/box/-/blob/master/src/backupformat/rsync.js?ref_type=heads#L113

      You could adjust them manually on your server via SSH, carefully and run systemctl restart box then try another backup.

      1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Which version of Cloudron are you on? We already bumped the buffer size to 80MB which should be pretty big. Do you think you have a lot of files?

        1 Reply Last reply
        0
        • B Offline
          B Offline
          balticpenguin
          wrote on last edited by
          #4

          We have version v7.7.2.

          Most of the files are probably located within Nextcloud. I counted up the user directories once: We have around 165000 files under /app/data/<user>/files/ with a size of 160GB.

          How can I change the buffer size? Is there a command or do I have to change something directly in a file?

          girishG 1 Reply Last reply
          1
          • B balticpenguin

            We have version v7.7.2.

            Most of the files are probably located within Nextcloud. I counted up the user directories once: We have around 165000 files under /app/data/<user>/files/ with a size of 160GB.

            How can I change the buffer size? Is there a command or do I have to change something directly in a file?

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

            @balticpenguin yes, correct. Can you edit /home/yellowtent/box/src/backupformat/rsync.js directly ? Change https://git.cloudron.io/cloudron/box/-/blob/master/src/backupformat/rsync.js?ref_type=heads#L113 to 1024 * 1024 * 120 (120MB buffer size) . There is another size couple of lines below. Change that too. You don't need to restart anything for the changes to take effect. Try another backup and let us know if that worked and we will fix the code accordingly.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              balticpenguin
              wrote on last edited by
              #6

              @girish same problem as before

              girishG 1 Reply Last reply
              0
              • B balticpenguin

                @girish same problem as before

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

                @balticpenguin ok not sure, what is going on then. Are you able to write to us at support@cloudron.io and we have to debug on the server. Thanks!

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

                  The issue here had to do with something in JupyterHub container creating a massive number of folders recursively. Think 300k folders or something. Nuking all that stuff, made backups work again.

                  1 Reply Last reply
                  0
                  • girishG girish has marked this topic as solved on
                  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