mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00

when running rootless, if the specified oom_score_adj for the container process is lower than the current value, clamp it to the current value and print a warning. Closes: https://github.com/containers/podman/issues/19829 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
459 B
459 B
####> This option file is used in: ####> podman create, run ####> If file is edited, make sure the changes ####> are applicable to all of those.
--oom-score-adj=num
Tune the host's OOM preferences for containers (accepts values from -1000 to 1000).
When running in rootless mode, the specified value can't be lower than the oom_score_adj for the current process. In this case, the oom-score-adj is clamped to the current process value.