containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
23.68k stars 2.41k forks source link

[tracker] memory test oomkilled container #21749

Closed edsantiago closed 4 months ago

edsantiago commented 8 months ago

Two instances in the last week:

[It] podman run memory test on oomkilled container
...
Execing /usr/bin/cat /proc/sys/vm/overcommit_memory

0
# podman-remote [options] run --name oomkilled-ctr --read-only --memory-swap=20m --memory=20m --oom-score-adj=1000 quay.io/libpod/alpine:latest sort /dev/urandom
# podman-remote [options] inspect --format {{.State.OOMKilled}} {{.State.ExitCode}} oomkilled-ctr
false 137

[FAILED] Expected
    <string>: false 137
to contain substring
    <string>: true

I haven't even looked at trying to reproduce it or even looked at the code. I'm simply filing so I can track this in the future.

I do have to say, rawhide is looking really, really bad right now.

x x x x x x
int(2) podman(1) rawhide(2) root(1) host(2) sqlite(2)
remote(1) rootless(1)
edsantiago commented 8 months ago

Seen just now in f39.

Fun fact: this is using today's VM build, the one custom-built to give us the rc6 kernel on rawhide. In these VMs, f39 kernel bumped from 6.7.5-200 to 6.7.6-200.

edsantiago commented 8 months ago

Still happening. This is not related to the (fixed) rawhide hang.

x x x x x x
int(7) podman(4) rawhide(4) rootless(4) host(7) sqlite(7)
remote(3) fedora-39(3) root(3)
github-actions[bot] commented 7 months ago

A friendly reminder that this issue had no activity for 30 days.

edsantiago commented 7 months ago

Seen yesterday in f39 rootless

x x x x x x
int(8) podman(5) rawhide(4) rootless(5) host(8) sqlite(8)
remote(3) fedora-39(4) root(3)
Luap99 commented 4 months ago

Still there?

edsantiago commented 4 months ago

I'm hopelessly behind on flake cataloging, but as best I can tell this has not recurred since April 4.