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

    clean-vm (end) is stalling ?

    Scheduled Pinned Locked Moved Backup
    13 Posts 4 Posters 158 Views 4 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.
    • olivierlambertO Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Ping @Team-XO-Backend

      1 Reply Last reply Reply Quote 0
      • simonpS Offline
        simonp Vates 🪐 XO Team @Pilow
        last edited by

        @Pilow
        Hi, thanks for the report we will look into this and get back to you ASAP.

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

          @Pilow I noticed the same thing.
          After upgrading my XO instance my backups jobs started to take waaaay longer to finish.
          I also noticed that the clean-vm / merging seems to slow down the backup jobs quite heavily.

          @simonp
          Maybe it would be a good idea to test these kind of things before releasing. Maybe by adding time thresholds to the unit tests as in "if step a or b takes longer than x seconds it is considered failed"?

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

            @MajorP93

            Hi, yes this has clearly been a blind spot of our testing when we released the backups refactoring and our first step in fixing this issue is to add benchmarks to our testing suite to be sure this can't happen again.

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

              @simonp Awesome. Thanks for working on this.

              1 Reply Last reply Reply Quote 0
              • simonpS Offline
                simonp Vates 🪐 XO Team
                last edited by

                @pilow @majorp93

                Hi again, we have found the most likely source of the issue and fixed it.

                Could you checkout the fix_vhd_directory_merge branch and test that the backups take a reasonable length of time again ?

                Thanks.

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

                  @simonp I'll have to wait for the currently running backup job to finish.
                  I will update my XO instance afterwards and re-test.
                  I can probably give you feedback in this regard tomorrow or the day after at latest.
                  Thanks and best regards

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

                    @MajorP93 Perfect, if the issue is confirmed resolved, we aim to release a patch early next week so no hurry 🙂

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

                      @simonp Hello! Sorry for the delay. I had some time to test the branch that you mentioned.
                      6e26aafb-2ab6-48e2-b68d-daa11a2acc01-image.jpeg

                      I can say that the backup job took way less time to finish after you applied those fixes.
                      In my case it came down from 2 days to 10 hours.

                      I wanted to compare all of the backup runs of the last weeks and give you some real data but unfortunately my Xen Orchestra seems to not show the backup runs that took place before updating to your branch in backup history.

                      I still feel like backups take a little bit longer compared to before the merge-refactor but it is only a small difference.

                      Anyways. It is a big improvement and the jobs finish in reasonable time again. Thank you!

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

                        @MajorP93 sounds promising
                        i didn't patch, waiting for official release.

                        can you tell me if your jobs have lot of concurrency configured ?
                        for the time being I had to down to 1 the concurrency (was 4 or 6) to mitigate the added time of simultaneous mergings

                        eager to see if with the patchs, we can re pump concurrency up in the jobs.

                        1 Reply Last reply Reply Quote 0
                        • simonpS Offline
                          simonp Vates 🪐 XO Team
                          last edited by simonp

                          Hi, thanks for the heads-up, we will see about doing some comparison with the backups refactoring on our dev environment to check if we lost some speed and try to fix it if so. Very happy to hear that the issue is mostly resolved.

                          We will patch this ASAP.

                          1 Reply Last reply Reply Quote 1

                          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