Increase oomd user memory pressure limit to 50% for 20s (#1941170)
There isn't really a one size fits all policy since pressure can change a lot based on whether you have flash or spinning disks (and your swap configuration as well). But let's be a bit more conservative here.
This commit is contained in:
parent
a004447ba3
commit
a62a7c17cc
|
@ -1,2 +1,2 @@
|
||||||
[OOM]
|
[OOM]
|
||||||
DefaultMemoryPressureDurationSec=10s
|
DefaultMemoryPressureDurationSec=20s
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[Service]
|
[Service]
|
||||||
ManagedOOMMemoryPressure=kill
|
ManagedOOMMemoryPressure=kill
|
||||||
ManagedOOMMemoryPressureLimit=10%
|
ManagedOOMMemoryPressureLimit=50%
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
Name: systemd
|
Name: systemd
|
||||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 248~rc4
|
Version: 248~rc4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
# For a breakdown of the licensing, see README
|
# For a breakdown of the licensing, see README
|
||||||
License: LGPLv2+ and MIT and GPLv2+
|
License: LGPLv2+ and MIT and GPLv2+
|
||||||
Summary: System and Service Manager
|
Summary: System and Service Manager
|
||||||
|
@ -987,6 +987,9 @@ fi
|
||||||
%files standalone-sysusers -f .file-list-standalone-sysusers
|
%files standalone-sysusers -f .file-list-standalone-sysusers
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 30 2021 Anita Zhang <the.anitazha@gmail.com> - 248~rc4-6
|
||||||
|
- Increase oomd user memory pressure limit to 50% (#1941170)
|
||||||
|
|
||||||
* Fri Mar 26 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc4-5
|
* Fri Mar 26 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc4-5
|
||||||
- Do not preset systemd-networkd.service and systemd-networkd-wait-online.service
|
- Do not preset systemd-networkd.service and systemd-networkd-wait-online.service
|
||||||
on upgrades from before systemd-networkd was split out (#1943263)
|
on upgrades from before systemd-networkd was split out (#1943263)
|
||||||
|
|
Loading…
Reference in New Issue