XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    backup mail report says INTERRUPTED but it's not ?

    Scheduled Pinned Locked Moved Backup
    53 Posts 6 Posters 1.5k Views 6 Watching
    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.
    • P Offline
      Pilow @john.c
      last edited by Pilow

      @john.c said in backup mail report says INTERRUPTED but it's not ?:

      Are you using NodeJS 22 or 24 for your instance of XO?

      here is the node version on our problematic XOA
      6461d193-4f79-4300-9071-724b51caffd8-image.png
      this XOA do NOT manage backup jobs, totally offloaded to XO PROXIES

      XOA PROXies :

      [06:18 04] xoa@XOA-PROXY01:~$ node -v
      v20.18.3
      

      and XO CE :

      root@fallback-XOA:~# node -v
      v24.13.0
      
      1 Reply Last reply Reply Quote 1
      • M Online
        MajorP93
        last edited by MajorP93

        7ec89d01-64e4-47c6-a800-e4de50a56e38-grafik.png

        This is the RAM usage of my XO CE instance (Debian 13, Node 24, XO commit fa110ed9c92acf03447f5ee3f309ef6861a4a0d4 / "feat: release 6.1.0")

        Metrics are exported via XO openmetrics plugin.

        At the spots in the graph where my XO CE instance used around 2GB of RAM it was freshly restarted.
        Between 31.01. and 03.02. you can see the RAM usage climbing and climbing until my backup jobs went into "interrupted" status on 03.02. due to Node JS heap issue as described in my error report in post https://xcp-ng.org/forum/post/102160.

        1 Reply Last reply Reply Quote 1
        • M Online
          MajorP93
          last edited by

          I deployed XOA and used it to create a list of all XO dependencies and their respective versions as this seems to be the baseline that Vates tests against.

          I then went ahead and re-deployed my XO CE VM using the exact same package versions that XOA uses.

          This resulted in me using Debian 12, kernel 6.1, Node 20, etc.

          I hope that this gives my backup jobs more stability.

          It would be convenient if we would be able to get this information (validated, stable dependencies) from documentation instead of having to deploy XOA.

          Best regards

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            That's precisely the value of XOA and why we are selling it. If you want best tested/stability, XOA is the way to go πŸ™‚

            M 1 Reply Last reply Reply Quote 1
            • M Online
              MajorP93 @olivierlambert
              last edited by MajorP93

              @olivierlambert Sure, I absolutely get that XO CE comes with absolutely no warranty and XOA is the supported, enterprise grade product.
              If the budget was there and if I was to decide on that I would be happy to use it.

              It might still be a good idea to update your documentation at https://docs.xen-orchestra.com/installation#packages-and-prerequisites to at least align it with the Node JS version that you actually use and test against internally.
              (The linked part of documentation advises to use Node 24 while you are shipping Node 20 in XOA.)

              During testing it looked like running XO on Node 20 behaves quite differently compared to running it on Node 24 when it comes to RAM management. It looks like this got also confirmed by other users in this thread.

              XO CE users actually using and testing the versions that you ship might be of value for finding bugs.
              I think the documentation should generally advise to use the packages that you target during development in order to make the experience as good as possible for everyone.

              Just my two cents.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Online
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                Yes, we'll update the doc πŸ™‚

                P 1 Reply Last reply Reply Quote 1
                • P Offline
                  Pilow @olivierlambert
                  last edited by

                  so, I stopped rebooting my XOA everyday
                  6c5ad7ea-5c6a-4fe9-88bf-58c69406edd4-{2542A03D-3948-429F-8089-7EAB68CF592E}.png

                  just patched 6.1.1, it restarted xo-server
                  b7adabb8-4d4f-4805-8b25-ddbedffe5cc0-{CC0C1CCE-6950-4F3C-B328-2E6D9D4889C7}.png

                  guess I'll have to let it disabled for 48h to see if with new patch, RAM is still ramping up.
                  will report back.

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pilow @Pilow
                    last edited by Pilow

                    e4d776aa-4e38-4d9c-933a-3a2d470535e7-{C0BC0ACF-CE0F-4922-A148-45C0E87A9A9D}.png
                    ramp up and stabilization at 2.9Gb RAM

                    need some 48H more data to confirm the behavior have changed

                    XOPROXIES have also been upgraded to latests :
                    eb5f373d-3f98-4d92-a0fb-c4114a4f59b8-{29484B1F-E0B2-4CCE-A7AC-E42CA080B12A}.png

                    they didnt present any problem of RAM overusage even before
                    and my 4 proxies are offloading the entire backup jobs from main XOA thats serves only for management

                    florentF 1 Reply Last reply Reply Quote 1
                    • florentF Offline
                      florent Vates πŸͺ XO Team @Pilow
                      last edited by

                      @Pilow that is a good news

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pilow @florent
                        last edited by

                        @florent e29e516b-a91e-4000-839d-05c7351a8294-image.png
                        checked this morning, it took another step to 3.63Gb used RAM.

                        the slope is really different than before, stay tuned

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post