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

    RockyLinux VM's random reboots!

    Scheduled Pinned Locked Moved Compute
    11 Posts 2 Posters 239 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Hi,

      1. Is your Rocky fully up to date?
      2. Do you have any specific logs in the VM itself?
      3. You could check xl dmesg or dmesg in the Dom0 to see if you can spot anything out of the ordinary.
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Sugarat @olivierlambert
        last edited by

        @olivierlambert Thank you for the reply.

        The VM is up to date. I wasn't aware of the xl dmesg command. I'm seeing:

        (XEN) [ 5538.751053] p2m_pod_demand_populate: Dom6 out of PoD memory! (tot=1049114 ents=940768 dom6)                                                                                     
        (XEN) [ 5538.751056] domain_crash called from p2m_pod_demand_populate+0x4d2/0x8b0         
        (XEN) [ 5538.751057] Domain 6 (vcpu#0) crashed on cpu#3:                                                                                                                                 
        (XEN) [ 5538.751059] ----[ Xen-4.17.5-4  x86_64  debug=n  Not tainted ]----               
        (XEN) [ 5538.751059] CPU:    3                                                              
        (XEN) [ 5538.751060] RIP:    0033:[<000000000079a336>]                                    
        (XEN) [ 5538.751061] RFLAGS: 0000000000010202   CONTEXT: hvm guest (d6v0)                   
        (XEN) [ 5538.751062] rax: 000000c00036e000   rbx: 0000000000400000   rcx: 0000000000294000                                                                                               
        (XEN) [ 5538.751063] rdx: 00000000003d0000   rsi: 00000000003d0000   rdi: 00000000002d0000
        (XEN) [ 5538.751064] rbp: 000000c00035f410   rsp: 000000c00035f318   r8:  0000000000001032                                                                                               
        (XEN) [ 5538.751065] r9:  0000000000001032   r10: 00007ff8fefa9d28   r11: 0000000000000000                                                                                               
        (XEN) [ 5538.751065] r12: 000000c00036e000   r13: 0000000000000000   r14: 000000c0000061c0                                                                                               
        (XEN) [ 5538.751066] r15: 00ffffffffffffff   cr0: 0000000080050033   cr4: 00000000003706f0
        (XEN) [ 5538.751067] cr3: 0000000139c51804   cr2: 00007ff8fdf5e0d8                        
        (XEN) [ 5538.751068] fsb: 00007ff94747f740   gsb: 0000000000000000   gss: ffff9c4a6d600000
        (XEN) [ 5538.751069] ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 002b   cs: 0033
        (XEN) [ 5538.751234] p2m_pod_demand_populate: Dom6 out of PoD memory! (tot=1049114 ents=940768 dom6)
        (XEN) [ 5538.751236] domain_crash called from p2m_pod_demand_populate+0x4d2/0x8b0
        (XEN) [ 5538.751420] p2m_pod_demand_populate: Dom6 out of PoD memory! (tot=1049114 ents=940768 dom6)
        (XEN) [ 5538.751422] domain_crash called from p2m_pod_demand_populate+0x4d2/0x8b0
        

        Do you know what PoD memory is? This indeed looks to be a candidate for the cause.

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

          It's populate on demand. See https://xenproject.org/blog/ballooning-rebooting-and-the-feature-youve-never-heard-of/

          What's your VM configuration in terms of memory? (check the advanced tab in the "VM limits" section, then "Memory limits")

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Sugarat @olivierlambert
            last edited by

            @olivierlambert Ah I see. Yes, I am familiar with memory ballooning from my VMWare days.

            The VM is only a dual core with 4G RAM assigned, as it hosts only some reverse proxy containers (though they are essential). In the advanced tab, it shows the memory limits as:

            Static: 2 GiB/7.59Gib
            Dynamc: 4 GiB/4 Gib

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

              Try to set Static max to 4GiB, as the same for dynamic (4min/4max). And check if it's OK then. I think you might have not enough memory for 7.59GiB (that value is also weird, I don't know where it comes from?)

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                Sugarat @olivierlambert
                last edited by

                @olivierlambert When I go into advanced, those fields are not editable? How do I change the values?

                Thanks

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

                  Static field can only be edited while the VM is off.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sugarat @olivierlambert
                    last edited by

                    @olivierlambert Ah I was clicking in slightly the wrong area. You have to be pixel perfect I think. Thanks

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

                      Keep us posted on the outcome 🙂

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Sugarat @olivierlambert
                        last edited by

                        @olivierlambert Will do... that VM is running a massive rsync job at the moment, but once it's finished I'll be able to shut it down.

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