summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-02-06 14:13:09 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2023-02-15 20:01:16 +0000
commit53fda560dc2c66502da7ad68db7d79b515a3601a (patch)
tree3763e932be631db28fc6827985530acfdad88e3f /test
parentf129d0e77c4c9a0e12ae38cd241cd49846844a80 (diff)
downloadsystemd-53fda560dc2c66502da7ad68db7d79b515a3601a.tar.gz
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')
-rwxr-xr-xtest/TEST-55-OOMD/test.sh3
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
)
}