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

    XOA - Memory Usage

    Scheduled Pinned Locked Moved Xen Orchestra
    25 Posts 7 Posters 579 Views 8 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.
    • A Offline
      acebmxer
      last edited by

      Just noticed alert today. Currently at default settings for XOA ram allocation 4gb 4vcpus. There is a recommendation for a set value based on pulls/hosts/ or vms?

      Same questions for proxies is the proxies. What is the process for them same as xoa?

      1/16 - Node version
      ?? 2/16 - Memory: less than 10% free memory on the XOA, check https://xen-orchestra.com/docs/troubleshooting.html#memory
      ? 3/16 - xo-server config syntax
      ? 4/16 - Disk space for /
      ? 5/16 - Disk space for /var
      ? 6/16 - Native SMB support
      ? 7/16 - Fetching VM UUID
      ? 8/16 - XOA version
      ? 9/16 - /var is writable
      ? 10/16 - Appliance registration
      ? 11/16 - npm version
      ? 12/16 - NTP synchronization
      ? 13/16 - local SSH server
      ? 14/16 - xoa-support user
      ? 15/16 - Internet connectivity
      ? 16/16 - XOA status

      Screenshot_20260221_155047.png

      Screenshot_20260221_155019.png

      MathieuRAM 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Depends on the number of pools, hosts, VMs, number of backup jobs, size etc.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          acebmxer @olivierlambert
          last edited by acebmxer

          @olivierlambert said in XOA - Memory Usage:

          Hi,

          Depends on the number of pools, hosts, VMs, number of backup jobs, size etc.

          Any issues with just jumping up to 8gb or 16? Has been fine untill today.

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

            @acebmxer as per your screenshots, we can guess you have daily backup jobs operated by the XOA
            and the memory graph is significant of a reguler OOM kill (out of memory)

            there is some kind of memory leak happening and the devs are investigating it in another thread in here

            upgrading to 8GB or 16GB your XOA memory will take it more days before OOM happens, but it will happen

            check this thread https://xcp-ng.org/forum/topic/11721/backup-mail-report-says-interrupted-but-it-s-not/48

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              acebmxer @Pilow
              last edited by

              @Pilow
              Yeah I was following your post. At first I thought i was having random backup issues with backups via proxies with the occasional issue with backups via xoa. Then just yesturday see the error about memory.

              For now I just rebooted XOA and it down under 2gb currently. Will wait and see how long for it to build back up again or untill Dev team finds a solution to the problem.

              F 1 Reply Last reply Reply Quote 0
              • F Online
                flakpyro @acebmxer
                last edited by

                Looks like the issue still persists in 6.3.1?

                Here is since installing the latest update yesterday:

                bdb0577a-5cea-480f-9a76-d3d3f2213a54-image.jpeg

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

                  @flakpyro yup still aggressive on memory consumption
                  I have a task that reboots XOA & XOPROXIES every two days to mitigate

                  8e3474d6-3c71-4b21-bf1c-293fe13c61b8-image.jpeg

                  since 6.3 / 6.3.1 it seems more aggressive on the ramp up (I updated just yesterday... was still on 6.1.2)

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Adding @Team-XO-Backend in the loop

                    1 Reply Last reply Reply Quote 0
                    • MathieuRAM Offline
                      MathieuRA Vates 🪐 XO Team @acebmxer
                      last edited by

                      @acebmxer
                      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?

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        acebmxer @MathieuRA
                        last edited by acebmxer

                        @MathieuRA

                        I have been busy at work. I will try to test this branch out when i get home tonight.

                        Looking back on this. This was related to XOA at work not XO from sources.

                        I have also changed up our back up process and this has no longer been an issues for me.

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

                          @acebmxer do you know what you did change on the backups ?

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            acebmxer @florent
                            last edited by

                            @florent

                            We have allways been a veeam customer since vwmare. I have moved over to the beta version of veeam for our windows servers.

                            XOA is only backing up our linux servers. So half the workload was removed from backups.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              acebmxer
                              last edited by

                              Well i guess i should not have said anything. Backups have been running fine until tonight. Well technically last night. Got email alter that a backup job failed because job already running. This is one of my remote pools. But took a look at the memory usage in XOA..

                              9 total vms across 3 pools/locations. 3 vms at the remote site get backed up.

                              Screenshot_20260413_210756.png

                              Screenshot_20260413_210826.png

                              The proxy at the remote site.

                              Screenshot_20260413_211942.png

                              If you want i can create a support ticket.

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

                                @acebmxer yes please ping Mathieu R and me ( Florent B ) on the ticket so we can get it as fast as possible

                                Would it be ok to extract the memory of the xoa with this PR https://github.com/vatesfr/xen-orchestra/pull/9704 ?
                                it should gives us pointers

                                fbeauchamp opened this pull request in vatesfr/xen-orchestra

                                draft feat(xo-server): allow heap memory export #9704

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  acebmxer @florent
                                  last edited by acebmxer

                                  @florent @mathieura Support ticket opened - Ticket#7756329

                                  As noted in ticket Yes that is ok. Just note this is production systems.

                                  1 Reply Last reply Reply Quote 1
                                  • A Offline
                                    acebmxer
                                    last edited by acebmxer

                                    @florent @mathieura

                                    XOA is giving alart about Memory running low.... I have not rebooted xoa or aything since @florent applied patchs to xoa. Support tunnel still open.

                                    Screenshot 2026-04-14 140230.png

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

                                      @acebmxer thanks to you we have discove a new class of candidates for the fix : the TLS session that stayed behind each connection.

                                      the branch is here https://github.com/vatesfr/xen-orchestra/pull/9725 , as soon as we are done on a QA we will patch your xoa

                                      fbeauchamp opened this pull request in vatesfr/xen-orchestra

                                      open Fix(xo-server): TLSSocket memory leak — stoppable + http-server-plus incompatibility #9725

                                      P A 2 Replies Last reply Reply Quote 1
                                      • P Online
                                        Pilow @florent
                                        last edited by

                                        @florent http 401 error on the pull 😕 odd

                                        florentF 1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          acebmxer @florent
                                          last edited by

                                          @florent

                                          This is from when patch was applied today.

                                          Screenshot 2026-04-15 094913.png

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

                                            @Pilow said:

                                            @florent http 401 error on the pull 😕 odd

                                            can you retry ?

                                            P P 2 Replies 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