Files
earlyoom/earlyoom.upstart
Marcus Meissner 3ca9f9aec6 Accepting request 760937 from home:embar-:Lietukas
EarlyOOM is a user-space daemon for checking the amount of memory and swap frequency in order to trigger Linux's out-of-memory killer (oom-killer) sooner rather than before experiencing too much memory pressure that the Linux desktop hits responsiveness problems.

OBS-URL: https://build.opensuse.org/request/show/760937
OBS-URL: https://build.opensuse.org/package/show/Base:System/earlyoom?expand=0&rev=1
2020-01-06 10:14:39 +00:00

16 lines
345 B
Plaintext

description "Early OOM killer daemon"
start on runlevel [2345]
stop on runlevel [016]
respawn
script
mkfifo /tmp/earlyoom-log-fifo
( logger -t earlyoom < /tmp/earlyoom-log-fifo & )
exec >> /tmp/earlyoom-log-fifo 2>&1
rm -f /tmp/earlyoom-log-fifo
. /etc/sysconfig/earlyoom
exec /usr/bin/earlyoom ${EARLYOOM_ARGS:--r 60}
end script