You have been subscribed to a public bug:

Description
===========

After apt upgrading to vmlinuz-7.0.0-1017-azure kernel from
vmlinuz-6.17.0-1008-azure, I perform a live migration within our on-prem
Hyper-V infrastructure. The system eventually kernel panics due to Out
of Memory issues.

Steps to reproduce
==================

This is an Ubuntu 24.04 server with the following settings:
2 CPU

Dynamic Memory set as follows:
Startup: 4096MB
Minimum: 1024MB
Maximum: 4096MB
Memory Buffer: 20%

40GB Disk
Single Network adapter


apt update
apt upgrade -y
reboot 

Live migrate to another host

Expected result:
 no issues during or after migration

Actual result:

Watch the console after migration, Out of memory: Killed Process XXX
entries begin to show for many services

Eventually the console shows Kernel Panic

Log example:

2026-10-15T17:36:28.439983+00:00 test-cdonahue-lnx-01 kernel: systemd-journal 
invoked oom-killer: 
gfp_mask=0x440dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_COMP), order=0, 
oom_score_adj=-250
2026-10-15T17:36:28.497925+00:00 test-cdonahue-lnx-01 kernel:  
oom_kill_process+0xd7/0x250
2026-10-15T17:36:28.497926+00:00 test-cdonahue-lnx-01 kernel:  ? 
oom_evaluate_task+0x105/0x200
2026-10-15T17:36:28.497962+00:00 test-cdonahue-lnx-01 kernel:  
__alloc_pages_may_oom+0x109/0x1d0
2026-10-15T17:37:43.859683+00:00 test-cdonahue-lnx-01 kernel:  
oom_kill_process+0xd7/0x250
2026-10-15T17:37:43.859684+00:00 test-cdonahue-lnx-01 kernel:  
__alloc_pages_may_oom+0x109/0x1d0
2026-10-15T17:36:35.292360+00:00 test-cdonahue-lnx-01 systemd[1]: 
[email protected]: A process of this unit has been killed by the OOM killer.
2026-10-15T17:36:35.293002+00:00 test-cdonahue-lnx-01 systemd[1]: 
unattended-upgrades.service: A process of this unit has been killed by the OOM 
killer.
2026-10-15T17:36:35.293070+00:00 test-cdonahue-lnx-01 systemd[1]: 
udisks2.service: A process of this unit has been killed by the OOM killer.
2026-10-15T17:36:35.293153+00:00 test-cdonahue-lnx-01 systemd[1]: 
rsyslog.service: A process of this unit has been killed by the OOM killer.
2026-10-15T17:36:35.293228+00:00 test-cdonahue-lnx-01 systemd[1]: 
networkd-dispatcher.service: A process of this unit has been killed by the OOM 
killer.
2026-10-15T17:36:35.293365+00:00 test-cdonahue-lnx-01 systemd[1]: 
networkd-dispatcher.service: Failed with result 'oom-kill'.
2026-10-15T17:36:35.293527+00:00 test-cdonahue-lnx-01 systemd[1]: 
udisks2.service: Failed with result 'oom-kill'.
2026-10-15T17:36:35.293896+00:00 test-cdonahue-lnx-01 systemd[1]: 
rsyslog.service: Failed with result 'oom-kill'.
2026-10-15T17:36:35.294058+00:00 test-cdonahue-lnx-01 systemd[1]: 
unattended-upgrades.service: Failed with result 'oom-kill'.
2026-10-15T17:36:35.294123+00:00 test-cdonahue-lnx-01 systemd[1]: 
user-1000.slice: A process of this unit has been killed by the OOM killer.
2026-10-15T17:37:43.865762+00:00 test-cdonahue-lnx-01 kernel: [  pid  ]   uid  
tgid total_vm      rss rss_anon rss_file rss_shmem pgtables_bytes swapents 
oom_score_adj name
2026-10-15T17:37:43.865945+00:00 test-cdonahue-lnx-01 kernel: 
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/rsyslog.service,task=rsyslogd,pid=863,uid=103
2026-10-15T17:37:43.865946+00:00 test-cdonahue-lnx-01 kernel: Out of memory: 
Killed process 863 (rsyslogd) total-vm:222580kB, anon-rss:0kB, file-rss:3340kB, 
shmem-rss:0kB, UID:103 pgtables:76kB oom_score_adj:0
2026-10-15T17:37:43.865958+00:00 test-cdonahue-lnx-01 kernel: oom_reaper: 
reaped process 863 (rsyslogd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
2026-10-15T17:37:43.865962+00:00 test-cdonahue-lnx-01 kernel: (-profile) 
invoked oom-killer: 
gfp_mask=0xc2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_COMP|__GFP_NOMEMALLOC), order=0, 
oom_score_adj=0
2026-10-15T17:37:43.865984+00:00 test-cdonahue-lnx-01 kernel:  
oom_kill_process+0xd7/0x250
2026-10-15T17:37:43.865985+00:00 test-cdonahue-lnx-01 kernel:  ? 
oom_evaluate_task+0x105/0x200
2026-10-15T17:37:43.865988+00:00 test-cdonahue-lnx-01 kernel:  
__alloc_pages_may_oom+0x109/0x1d0

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
OOM issue after Hyper-V live migrating Ubuntu 24.04.5 with Azure kernel 7.x
https://bugs.launchpad.net/bugs/2171007
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to