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

    large consume of memory in 5.82.2

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 2 Posters 347 Views 2 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.
    • robytR Offline
      robyt
      last edited by

      Hi, i've upgraded to 5.82.82 and i see a general slowdown
      i'm entering via ssh in vm and i see this:

      xoa@xoa:~$ free -h
                    total        used        free      shared  buff/cache   available
      Mem:          1.9Gi       1.5Gi        71Mi       1.0Mi       407Mi       325Mi
      Swap:         2.0Gi       894Mi       1.1Gi
      
      
      root     58755  4.2 12.1 11609064 245252 ?     Ssl  08:43   8:22 node /usr/local/bin/xo-server
      

      11gb of virtual memory...
      it's necessary to reboot the vm with this upgrade?
      Or is a sw problem?

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

        It's not a problem to have a high virtual memory usage. You can probably get more perf if you raise XOA available RAM.

        How many hosts are you managing with this XOA?

        robytR 1 Reply Last reply Reply Quote 0
        • robytR Offline
          robyt @olivierlambert
          last edited by olivierlambert

          @olivierlambert ~30 hosts
          Now i've assigned 4gb of ram, the memory is

          [14:20 24] xoa@xoa:~$ free -h
                        total        used        free      shared  buff/cache   available
          Mem:          3.8Gi       1.7Gi       119Mi       3.0Mi       2.0Gi       2.0Gi
          Swap:         2.0Gi        76Mi       1.9Gi
          
          

          Before the upgrade xoa is fast and reactive, now (with 2gb of ram) is very slow (the vm is the same)

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

            And now with 4GiB RAM, is it better? 2GiB is too tight for 30 hosts.

            robytR 1 Reply Last reply Reply Quote 0
            • robytR Offline
              robyt @olivierlambert
              last edited by

              @olivierlambert no problem, i add some memory to vm.
              The number of vCPUs is relevant?

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

                Depends on the load, mostly when doing backups, if you backup 20+ VMs, 4vCPUs is better.

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