| 1 |
# Default settings for earlyoom. This file is sourced by /bin/sh from |
| 2 |
# /etc/init.d/earlyoom or by systemd from earlyoom.service. |
| 3 |
|
| 4 |
# Options to pass to earlyoom |
| 5 |
EARLYOOM_ARGS="-r 3600" |
| 6 |
|
| 7 |
# Examples: |
| 8 |
|
| 9 |
# Print memory report every minute instead of every hour |
| 10 |
# EARLYOOM_ARGS="-r 60" |
| 11 |
|
| 12 |
# Available minimum memory 5% |
| 13 |
# EARLYOOM_ARGS="-m 5" |
| 14 |
|
| 15 |
# Available minimum memory 15% and free minimum swap 5% |
| 16 |
# EARLYOOM_ARGS="-m 15 -s 5" |
| 17 |
|
| 18 |
# Avoid killing processes whose name matches this regexp |
| 19 |
# EARLYOOM_ARGS="--avoid '(^|/)(init|X|sshd|firefox)$'" |
| 20 |
|
| 21 |
# See more at `earlyoom -h' |