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

    backup mail report says INTERRUPTED but it's not ?

    Scheduled Pinned Locked Moved Backup
    123 Posts 10 Posters 10.2k Views 12 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 @MajorP93
      last edited by

      @MajorP93 we have almost same size 30 backup jobs (mixed delta/cr/repl/dr) for 95+ VMs
      42570f88-2792-4954-8315-b9fa92aa9047-image.png

      but these are not operated by XOA but dispatched in 4 XO Proxies

      and still XOA get OOM killed 😕

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

        Here is the latest after installing 6.2.1 on Friday.

        0837739b-0d4e-4f27-ac1c-a51c297b3271-image.jpeg

        florentF 1 Reply Last reply Reply Quote 0
        • florentF Offline
          florent Vates 🪐 XO Team @flakpyro
          last edited by

          @flakpyro said:

          Here is the latest after installing 6.2.1 on Friday.

          0837739b-0d4e-4f27-ac1c-a51c297b3271-image.jpeg

          for whose who have a big memory usage , Is a call to xo-cli xo.clean reduce the memory consumption ?

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            flakpyro @florent
            last edited by

            @florent I can try running this command next time memory usage is high and will report my findings!

            F 1 Reply Last reply Reply Quote 1
            • F Offline
              flakpyro @flakpyro
              last edited by

              Tonight i noticed our XOA memory usage was high today so i tried running xo-cli xo.clean as you suggested. It returned a status of "true" but unfortunately did not seem to make a difference in overall memory usage.

              50b98e75-8bb6-4a31-8529-33f003796d3d-image.jpeg

              florentF 1 Reply Last reply Reply Quote 2
              • florentF Offline
                florent Vates 🪐 XO Team @flakpyro
                last edited by

                @flakpyro thanks for the test
                we are preparing a branch with some performance improvement , hopefully this time we found the right cause

                M 1 Reply Last reply Reply Quote 1
                • M Offline
                  MajorP93 @florent
                  last edited by

                  After leaving my XO CE VM without reboot for 9 days I got hit with increased RAM usage and "interrupted" backup error again.

                  @florent is there a branch already that I can test?

                  florentF 1 Reply Last reply Reply Quote 0
                  • florentF Offline
                    florent Vates 🪐 XO Team @MajorP93
                    last edited by

                    @MajorP93 we merged a lot of changes yesterday , so it's on master

                    it clean more aggressively the task log, and more cleanup after backup; We are still looking for other possibilities , but for now it's our best bets

                    M 1 Reply Last reply Reply Quote 1
                    • M Offline
                      MajorP93 @florent
                      last edited by

                      @florent Thanks for the reply. I will rebuild XO and test with current master.

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

                        I can confirm that recent changes in Xen Orchestra improved the situation a lot.
                        I am still monitoring and will keep testing before coming to a conclusion but so far the backups did not crash due to Node heap size being exhausted 🤞.

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

                          @MajorP93 what version of XOA are you up to ?
                          i'm still in 6.1.2 because of other tiny bugs in new versions

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

                            @Pilow I am using Xen Orchestra from sources. I think the commits that improved RAM / heap usage are not released for XOA. But I suspect a XOA release coming soon as they already pushed "technical release" commit which is mostly an indicator that a XOA release will follow soon.

                            1 Reply Last reply Reply Quote 0
                            • florentF Offline
                              florent Vates 🪐 XO Team
                              last edited by florent

                              yes, the last changes are released in latest ( 6.3) tomorrow if everything proceed as intended

                              mostly : https://github.com/vatesfr/xen-orchestra/pull/9622
                              https://github.com/vatesfr/xen-orchestra/pull/9557

                              and this one was in 6.2 :
                              https://github.com/vatesfr/xen-orchestra/commit/e36e1012e20c9678efa15148179941cb284c39a6

                              that's nice to hear

                              fbeauchamp opened this pull request in vatesfr/xen-orchestra

                              closed feat(xo-server): use index for getAllUnhealthyVdiChainsLength #9622

                              fbeauchamp opened this pull request in vatesfr/xen-orchestra

                              closed fix(backups): better handling of generator cleanup #9557

                              0 fbeauchamp committed to vatesfr/xen-orchestra
                              fix(xo-web): reducing polling for patches and license
                              1 Reply Last reply Reply Quote 1
                              • MathieuRAM Offline
                                MathieuRA Vates 🪐 XO Team
                                last edited by

                                @pilow @majorp93
                                Hi, we've detected a memory leak at the REST API level.
                                We pushed a fix on the branch: mra-fix-rest-memory-leak
                                Can you test the branch?

                                M 2 Replies Last reply Reply Quote 0
                                • M Offline
                                  MajorP93 @MathieuRA
                                  last edited by

                                  @MathieuRA Sounds promising! Once my backup job finished I will update my XO instance and start testing. Thanks for the heads up and for working on this.
                                  Best regards

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

                                    I updated to branch "mra-fix-rest-memory-leak".
                                    I will look at backup job results tomorrow and report back.

                                    1 Reply Last reply Reply Quote 2
                                    • M MajorP93 referenced this topic
                                    • M Offline
                                      MajorP93 @MathieuRA
                                      last edited by MajorP93

                                      Hello @MathieuRA , @florent

                                      Moving the discussion to this thread as it seems to be tackling the same issue: https://xcp-ng.org/forum/topic/11892/xoa-memory-usage/28?_=1776334896974

                                      I reported my findings so far over there

                                      Best regards

                                      1 Reply Last reply Reply Quote 0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • First post
                                        Last post