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

    Alert: Control Domain Memory Usage

    Scheduled Pinned Locked Moved Solved Compute
    194 Posts 21 Posters 219.1k Views 16 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.
    • delafD Offline
      delaf @stormi
      last edited by

      @stormi I have installed intel-ixgbe 5.5.2-2.1.xcpng8.2 on my server s0267. Let's wait a some days to check if the memleak is solved by this patch.

      delafD 1 Reply Last reply Reply Quote 1
      • delafD Offline
        delaf @delaf
        last edited by

        @stormi
        It seems to be good here!

        Screenshot 2021-03-09 at 08.36.50.png

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

          So we found the good patch πŸ™‚ That was a really tricky issue to find!

          1 Reply Last reply Reply Quote 0
          • stormiS Offline
            stormi Vates πŸͺ XCP-ng Team
            last edited by stormi

            Once again, an issue that was present in vendor drivers but not in the mainline kernel. It's becoming harder and harder to trust vendor drivers. But that's what they require for support...

            1 Reply Last reply Reply Quote 2
            • F Offline
              fasterfourier
              last edited by olivierlambert

              Our Citrix ticket has been worked and they concluded that the NIC driver is to blame here as well. They had us collect debug info using:

              /opt/xensource/libexec/xen-cmdline --set-dom0 page_owner=on
              

              They then confirmed the memory leak was from the NIC driver. They are intending to release a public hotfix for this issue.

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

                Nice to see Citrix are also getting to the same conclusions πŸ™‚

                edit: thanks @fasterfourier for your feedback!

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

                  @olivierlambert

                  Official Citrix update has been posted: https://support.citrix.com/article/CTX306529

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

                    \o/

                    What I still find really weird is the fact we had report of the issue far longer before Citrix. And we had roughly 10 people affected while Citrix got only 1 report πŸ€”

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fasterfourier @olivierlambert
                      last edited by

                      @olivierlambert

                      Probably plenty of Citrix customers were affected, but they would rather reboot on schedule than spend months working through the support process πŸ™‚

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

                        haha that might be the answer indeed…

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          JCastang
                          last edited by

                          Hello,

                          Does this fix has been released or is to be released ?

                          stormiS 1 Reply Last reply Reply Quote 0
                          • stormiS Offline
                            stormi Vates πŸͺ XCP-ng Team @JCastang
                            last edited by

                            @jcastang It is being tested and you can join the effort: yum update intel-ixgbe --enablerepo=xcp-ng-testing. The results are very good, I just want a bit more feedback.

                            J 1 Reply Last reply Reply Quote 1
                            • J Offline
                              JCastang @stormi
                              last edited by

                              @stormi Ok, I will update one of our pools and get some results.

                              1 Reply Last reply Reply Quote 1
                              • J Offline
                                JCastang @delaf
                                last edited by

                                @delaf Can you point me the tool you are using to get memory graphs ? (I want to check my upgraded pool).
                                I was searching in Advance live Telemetry with no luck.

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

                                  Netdata will only give you the last hour.

                                  If you want longer metrics, you need to send the data in Prometheus/Grafana.

                                  1 Reply Last reply Reply Quote 1
                                  • delafD Offline
                                    delaf @JCastang
                                    last edited by

                                    @jcastang we are using a netdata/prometheus/grafana stack.

                                    @olivierlambert you can change the retention method and keep much more data on netdata. There is also (since netdata 1.18 i think) a dbengine that allows you to store data on disk.

                                    delafD 1 Reply Last reply Reply Quote 0
                                    • delafD Offline
                                      delaf @delaf
                                      last edited by

                                      PS: we are not using the netdata config from "Advanced telemetry": we are installing our own netdata config.

                                      1 Reply Last reply Reply Quote 0
                                      • stormiS Offline
                                        stormi Vates πŸͺ XCP-ng Team
                                        last edited by

                                        dbengine is a bit dangerous on dom0. There used to be a bug where it would keep growing forever, so I don't trust it anymore.

                                        delafD 1 Reply Last reply Reply Quote 0
                                        • delafD Offline
                                          delaf @stormi
                                          last edited by

                                          @stormi oh I did not know that as I never use it: I only know that it exists πŸ˜‰

                                          delafD 1 Reply Last reply Reply Quote 0
                                          • delafD Offline
                                            delaf @delaf
                                            last edited by

                                            @stormi Hello, some week after, I can confirm that the problem is solved here by using intel-ixgbe.x86_64@5.5.2-2.1.xcpng8.1 or intel-ixgbe.x86_64@5.5.2-2.1.xcpng8.2

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