Closed Karm closed 2 years ago
@Karm I'm intrigued. How would I reproduce this?
Is anything in this test setting --memory-swappiness
? From the man page of podman run:
--memory-swappiness=number
Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100.
This flag is not supported on cgroups V2 systems.
@jerboaa It is caused by this line: https://github.com/Karm/mandrel-integration-tests/blob/master/testsuite/src/it/java/org/graalvm/tests/integration/utils/BuildAndRunCmds.java#L66
Test case:
Is it really necessary to have it set to 0 for the session to work? I don't recall. Will try presently....
OK, this won't work on a cgroups v2 system. So I suggest to figure out why you need this swappiness setting in the first place and find out what the alternatives are to achieve the same (or similar) result. Perhaps setting --memory=X
and --memory-swap=X
would help to disable swap.
Latest podman, maybe OS issues? TODO: try on latest Fedora