Public bug reported:

*Setup*

Container spec using "ubuntu:25.10" as base.

Podman is used for the container build i.e. overlayfs is involved (on
Fedora 42 host).

On machine with 8GB RAM (with half of that available without swapping as
it's normal desktop with Browser etc).

*Test-steps*

Container runs as first command:

"apt-get update && apt-get install -y --no-install-recommends intel-
opencl-icd ffmpeg"

When doing install with only couple of packages everything's fine, but
if there are many (e.g. dependent) packages being installed, especially
if some of them are large, apt-get memory usage explodes.

Its virtual allocations raise in maybe 10 secs to tens of GBs, and RSS
(according to top) to as many GBs as fits into machine. Machine start
swapping & install never finishes due to kernel OOM killer axing apt-get
to save the device.

This is from within company VPN network with proxies & firewalls, and
there may have been network connectivity issues => it's possible that
the bad / slow connectivity triggers something in apt-get.

However, there's never been such problem with apt-get in 20.04, so I'm
fairly sure this OOM-inducing leakage / memory usage is apt-get
regression between 24.04 and 25.10.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133030

Title:
  "apt-get install" OOMs on 25.10 (podman container build)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2133030/+subscriptions


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

Reply via email to