mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
14d044da23
Fixes #17533
The memory pressure values of the units in TEST-56-OOMD seemed to be a
lot lower after updating to linux 5.9. This is likely due to a fix from
e22c6ed90a
.
To account for this, I lowered memory.high on testbloat.service to
throttle it even more. This was enough to generate the 50%+ value to trigger
oomd for the test, but as an extra precaution I also lowered the oomd
threshold to 1% so it's certain to try and kill testbloat.service.
11 lines
215 B
SYSTEMD
11 lines
215 B
SYSTEMD
[Unit]
|
|
Description=Test slice for memory pressure kills
|
|
|
|
[Slice]
|
|
CPUAccounting=true
|
|
MemoryAccounting=true
|
|
IOAccounting=true
|
|
TasksAccounting=true
|
|
ManagedOOMMemoryPressure=kill
|
|
ManagedOOMMemoryPressureLimitPercent=1%
|