OOMD.CONF(5) oomd.conf OOMD.CONF(5) oomd.conf oomd.conf.d - systemd-oomd /etc/systemd/oomd.conf /run/systemd/oomd.conf /usr/local/lib/systemd/oomd.conf /usr/lib/systemd/oomd.conf /etc/systemd/oomd.conf.d/*.conf /run/systemd/oomd.conf.d/*.conf /usr/local/lib/systemd/oomd.conf.d/*.conf /usr/lib/systemd/oomd.conf.d/*.conf (OOM) systemd(1) systemd-oomd.service(8). systemd.syntax(7) . . : /etc/systemd/ /run/systemd/ /usr/local/lib/systemd/ [1] /usr/lib/systemd/. . (drop-ins) . ( /etc/ /usr/) . /usr/lib/systemd/*.conf.d/ /usr/local/lib/systemd/*.conf.d/ /etc/systemd/*.conf.d/. . *.conf.d/ . . (drop-ins) /usr/. /etc/ . . . . . 10-40 /usr/ 60-90 /etc/ /run/ . /dev/null /etc/ . systemd-oomd . varlink /run/systemd/oomd.prekill.hook/. io.systemd.oom.Prekill. . . . . MEMORY_PRESSURE[2] . [OOM] [OOM]: SwapUsedLimit= systemd-oomd . systemd-oomd 5% . ManagedOOMSwap=. ( "%") ("") ("") 0% 100% . 90%. 247. DefaultMemoryPressureLimit= systemd-oomd . ManagedOOMMemoryPressureLimit=. 10 . DefaultMemoryPressureDurationSec= systemd-oomd . ManagedOOMMemoryPressure=. SwapUsedLimit= . 60%. 247. DefaultMemoryPressureDurationSec= systemd-oomd . ManagedOOMMemoryPressureDurationSec=. DefaultMemoryPressureLimit= ManagedOOMMemoryPressureLimit=. 0 . 30 0. 248. PrekillHookTimeoutSec= systemd-oomd . varlink /run/systemd/oomd.prekill.hook/. . systemd-oomd . . . 1 . 0 systemd-oomd . 260. systemd(1) systemd.resource-control(5) systemd-oomd.service(8) oomctl(1) 1. . /usr/local/ . 2. MEMORY_PRESSURE https://systemd.io/MEMORY_PRESSURE/ 3 . . : . systemd 260.2 OOMD.CONF(5)