ansible/roles/basic_common_settings/files/debian_earlyoom

29 lines
760 B
Text
Raw Permalink Normal View History

2022-12-14 17:43:16 +01:00
# Default settings for earlyoom. This file is sourced by /bin/sh from
# /etc/init.d/earlyoom or by systemd from earlyoom.service.
# Options to pass to earlyoom
#EARLYOOM_ARGS="-r 60"
# Examples:
# Print memory report every second instead of every minute
# EARLYOOM_ARGS="-r 1"
# Available minimum memory 5%
#EARLYOOM_ARGS="-m 5"
# Available minimum memory 15% and free minimum swap 5%
#EARLYOOM_ARGS="-m 15 -s 5"
# Avoid killing processes whose name matches this regexp
#EARLYOOM_ARGS="--avoid '(^|/)(init|X|sshd|firefox)$'"
#prefer:
#EARLYOOM_ARGS="--prefer '(^|/)(telegram-desktop|element-desktop)$'"
# See more at `earlyoom -h'
#
#
#
EARLYOOM_ARGS="-r 60 -m 3 --avoid '(^|/)(init|X|sshd|firefox)$' --prefer '(^|/)(signal-desktop|element-desktop)$'"