forked from pool/earlyoom
- Remove -p flag from the default configuration because process priority is already set in the systemd service configuration. Also, currently -p with the new systemd service hardening parameters causes the process to be terminated immediately https://bugzilla.opensuse.org/show_bug.cgi?id=1223069. OBS-URL: https://build.opensuse.org/request/show/1168907 OBS-URL: https://build.opensuse.org/package/show/Base:System/earlyoom?expand=0&rev=41
13 lines
825 B
Plaintext
13 lines
825 B
Plaintext
## Path: System/Memory
|
|
## Description: configuration for Early OOM Daemon
|
|
|
|
## Type: string
|
|
## Default: "-r 3 -m 6 -s 10 -n -p --avoid '(^|/)(systemd|Xorg|X|Xwayland|xdm|sddm|kdm|gdm|lightdm|plasmashell|kwin_wayland|kwin_x11|ssh|yast|yast2|y2controlcenter|zypper|rpm)$' --prefer '(^|/)(java|Isolated\ Web\ Co|Web\ Content|WebExtensions|firefox|chrome|opera|ffmpeg|vlc|akregator|thumbnail.so)$'"
|
|
## Config: earlyoom
|
|
#
|
|
# Command-line options to pass to earlyoom
|
|
#
|
|
# see man(1) earlyoom
|
|
#
|
|
EARLYOOM_ARGS="-r 0 -m 6 -s 10 -n --avoid '(^|/)(systemd|Xorg|X|Xwayland|xdm|sddm|kdm|gdm|lightdm|plasmashell|kwin_wayland|kwin_x11|ssh|yast|yast2|y2controlcenter|zypper|rpm|dnf)$' --prefer '(^|/)(java|Isolated\ Web\ Co|Web\ Content|WebExtensions|firefox|chrome|opera|falkon|ffmpeg|vlc|mpv|akregator|thumbnail.so)$'"
|