diff options
author | Luca Boccassi <bluca@debian.org> | 2023-02-06 15:13:09 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-02-15 21:01:16 +0100 |
commit | 53fda560dc2c66502da7ad68db7d79b515a3601a (patch) | |
tree | 3763e932be631db28fc6827985530acfdad88e3f /test/TEST-55-OOMD/test.sh | |
parent | vconsole: allow setting default keymap through build option (diff) | |
download | systemd-53fda560dc2c66502da7ad68db7d79b515a3601a.tar.xz systemd-53fda560dc2c66502da7ad68db7d79b515a3601a.zip |
core: add support for Startup memory limits
We support separate Startup configurations for CPU and I/O, so
add it for memory too. Only cover cgroupsv2 settings.
Diffstat (limited to 'test/TEST-55-OOMD/test.sh')
-rwxr-xr-x | test/TEST-55-OOMD/test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/TEST-55-OOMD/test.sh b/test/TEST-55-OOMD/test.sh index 4032896061..c6dc92c050 100755 --- a/test/TEST-55-OOMD/test.sh +++ b/test/TEST-55-OOMD/test.sh @@ -21,7 +21,8 @@ EOF mkdir -p "${initdir:?}/etc/systemd/system/init.scope.d/" cat >>"${initdir:?}/etc/systemd/system/init.scope.d/test-55-oomd.conf" <<EOF [Scope] -MemoryHigh=10G +MemoryHigh=infinity +StartupMemoryHigh=10G EOF ) } |