This is becoming weirder, the issue doesn't reproduce in a LXD virtual machine: ``` skia@kiffex:~ ❯ lxc launch ubuntu-daily:plucky --vm plucky Launching plucky
skia@kiffex:~ took 22s ❯ lxc exec plucky bash root@plucky:~# apt update && apt install -y chaos-marmosets ... root@plucky:~# su ubuntu ubuntu@plucky:~$ uname -rv 6.14.0-13-generic #13-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 26 22:00:40 UTC 2025 ubuntu@plucky:~$ systemd-run --scope -p MemoryMax=1M --user leak-memory Running as unit: run-p1030-i1031.scope; invocation ID: 024fbfbd83ab488b90267d63ff4dbe4b Starting memory consumption in 1.00 MiB steps to maximum 42.0 TiB. Killed ubuntu@plucky:~$ systemd-run --scope -p MemoryMax=100M --user leak-memory Running as unit: run-p1031-i1032.scope; invocation ID: 804c4b8043e3423da17aad4336aca61d Starting memory consumption in 1.00 MiB steps to maximum 42.0 TiB. Allocated 10.0 MiB. Allocated 20.0 MiB. Allocated 30.0 MiB. Allocated 40.0 MiB. Allocated 50.0 MiB. Allocated 60.0 MiB. Allocated 70.0 MiB. Allocated 80.0 MiB. Allocated 90.0 MiB. Killed ubuntu@plucky:~$ ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2105866 Title: cgroup: weird calculation for memory limit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2105866/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
