mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
systemd: finally add oomd configuration
This commit is contained in:
parent
f18a66faef
commit
84c0452463
0
etc/systemd/oomd.conf.d/.gitignore
vendored
0
etc/systemd/oomd.conf.d/.gitignore
vendored
11
etc/systemd/oomd.conf.d/20-oomd.conf
Normal file
11
etc/systemd/oomd.conf.d/20-oomd.conf
Normal file
@ -0,0 +1,11 @@
|
||||
[OOM]
|
||||
# Default values from ../oomd.conf during systemd 255 (255.10-1.fc40),
|
||||
# but remember to read man oomd.conf
|
||||
#SwapUsedLimit=90%
|
||||
DefaultMemoryPressureLimit=60%
|
||||
DefaultMemoryPressureDurationSec=30s
|
||||
# I question 90 % being enough and healthy battery charging also uses 80 %,
|
||||
# so let's try this since I prioritise not freezing over max utilization.
|
||||
SwapUsedLimit=80%
|
||||
#DefaultMemoryPressureLimit=
|
||||
#DefaultMemoryPressureDurationSec=
|
Loading…
Reference in New Issue
Block a user