[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: kubuntu-meta (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
@wxl People on #kubuntu-dev decided to skip zram for now since they wanted for issue to be recognized as "release critical " for that change. You can see more details at the end of https://irclogs.ubuntu.com/2024/04/18/%23kubuntu-devel.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
What's curious is that at least by commit message, there seems to be no mention of zram at all in the Kubuntu seeds: https://git.launchpad.net/~kubuntu-dev/ubuntu-seeds/+git/kubuntu/log/?qt=grep=zram -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
@wxl I am not sure if the Kernel change is the sole reason, but I first encountered the issue when Kernel switched from 6.6 to 6.8. Maybe it was just a tipping point when memory consumption became too high for 2GB systems and later for 2.5GB. Also I am not sure when zram-config was removed from manifest but it for sure didn't help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
Steve, since zram-config solves the issue, my thinking is we could make it a default for livecd-rootfs. Anyways, like I said, it's not a Calamares issue, so pointing it at kubuntu-meta so they can choose to add it to their seed if they like. FWIW Lubuntu has seeded it for years. ** Also affects: kubuntu-meta (Ubuntu) Importance: Undecided Status: New ** Changed in: calamares-settings-ubuntu (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
Walter, you assigned this to livecd-rootfs, but that's a dead end. The memory consumption of the livecd is largely a property of the software it runs. Ubuntu and Kubuntu might both fail now on a system with 3GiB of RAM, but any fix to get under that threshold is likely to be flavor- specific and not a function of the image build system. This is not necessarily a calamares issue, but I'm reopening a task there so that it's somewhat on the radar of Kubuntu folks. ** Also affects: calamares-settings-ubuntu (Ubuntu) Importance: Undecided Status: New ** Changed in: livecd-rootfs (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
** Changed in: livecd-rootfs (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
** Package changed: calamares-settings-ubuntu (Ubuntu) => livecd-rootfs (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
If this happens in Ubuntu, it’s not Calamares. Are you suggesting that the new kernel may have some part to play? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
** Description changed: Since around introduction of Kernel 6.8 to Daily builds, installation of Kubuntu / Ubuntu / Ubuntu-Mate builds randomly hangs(mostly), crashes or fails on systems with less than 3GB of RAM. When the system hangs, VM indicates heavy CPU and CDROM usage. My bet is on Kernel killing itself trying to "juggle" data between OverlayFS and Filesystem cache without a way to swap-out since someone decided that removing zram-config from livefs was a good idea. When the system doesn't hang, I can see kernel OOM killing random processes like calamares, cryptsetup etc. I had 100% success of installing Kubuntu 24.04 daily on VMs with 3GB, 75% with 2.5GB and almost 0% on 2GB VMs. Lvecd installers prior to Linux 6.8 had no issues with 2GB VMs. Once the system is installed it functions satisfactory with 2GB. I believe adding zram-config to livefs/casper would allow installation on systems with only 2GB of RAM. Tested over a couple of months with many snapshots of 24.04 Daily builds for Ubuntu, Kubutu and Ubuntu-Mate on VirtualBox and KVM/Qemu with default settings except enabled EFI. PS, The issue is not unique to calamares but I am filing it here since that's what I was asked to do by people on #kubuntu-devel and to be honest at the moment I don't care about anything but being able to test Kubuntu images on small VMs. + + P.P.S + Specific example #1 (bad): + * Kubuntu snapshot from http://cdimage.ubuntu.com/kubuntu/daily-live/20240418.1/ + * VirtualBox 7.1.16 - VM - Default Ubuntu Profile, Enable EFI, Adjust RAM to 2.5GB + * Boot LiveCD, Choose Try option + * Start Install with default settings + * Observe Calamares existing mid install without any visual indication + * Logs show OOM-Killer killing cryptsetup and Calamares + + Specific example #2 (Good): + * Kubuntu snapshot from http://cdimage.ubuntu.com/kubuntu/daily-live/20240418.1/ + * VirtualBox 7.1.16 - VM - Default Ubuntu Profile, Enable EFI, Adjust RAM to 2.5GB + * Boot LiveCD, Choose Try option + * >> Install zram-config, start zram-config service << + * Start Install with default settings + * Observe Calamares finishing install -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062428] Re: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM
@guiverc Thank you for pointing deficiencies in my reporting. I've added additional context. Unfortunately, I probably won't be able to provide apport reporting since (1) Most of the times the system hard locks. (2) Since I've seen it fail dozens of times, in order to save time I either increase VM's RAM or install Zram before starting install. ** Description changed: Since around introduction of Kernel 6.8 to Daily builds, installation of Kubuntu / Ubuntu / Ubuntu-Mate builds randomly hangs(mostly), crashes or - fails on systems with 3GB or less. + fails on systems with less than 3GB of RAM. When the system hangs, VM indicates heavy CPU and CDROM usage. My bet is on Kernel killing itself trying to "juggle" data between OverlayFS and Filesystem cache without a way to swap-out since someone decided that removing zram-config from livefs was a good idea. When the system doesn't hang, I can see kernel OOM killing random processes like calamares, cryptsetup etc. I had 100% success of installing Kubuntu 24.04 daily on VMs with 3GB, 75% with 2.5GB and almost 0% on 2GB VMs. - Lvecd installers prioir to Linux 6.8 had no issues with 2GB VMs. + Lvecd installers prior to Linux 6.8 had no issues with 2GB VMs. Once the system is installed it functions satisfactory with 2GB. I believe adding zram-config to livefs/casper would allow installation on systems with only 2GB of RAM. - Tested over a coulpe of months with many snapshots of 24.04 Daily builds + Tested over a couple of months with many snapshots of 24.04 Daily builds for Ubuntu, Kubutu and Ubuntu-Mate on VirtualBox and KVM/Qemu with default settings except enabled EFI. PS, The issue is not unique to calamares but I am filing it here since that's what I was asked to do by people on #kubuntu-devel and to be honest at the moment I don't care about anything but being able to test Kubuntu images on small VMs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062428 Title: Kubuntu 24.04 daily builds - Install randomly hangs/fails/crashes on systems with less than ~3GB of RAM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2062428/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs