This commit is contained in:
Alexey Avramov 2019-01-14 05:21:34 +09:00
parent e2ce62114b
commit 1e91e6b0da

View File

@ -3,10 +3,8 @@ Lines starting with $ contain obligatory parameters.
Lines starting with @ contain optional parameters.
Other lines are comments.
1. Ignore swapspace, zram and PSI.
1. Ignore PSI.
$IGNORE_SWAP = FALSE
$IGNORE_ZRAM = TRUE
$IGNORE_PSI = TRUE
2. Poll rate
@ -34,17 +32,18 @@ $SIGTERM_MAX_PSI_SOME_AVG10 = 60
$DELAY_AFTER_SIGTERM = 0.2
$DELAY_AFTER_AVG10_SIGTERM = 40
@EXE_INSTEAD_OF_SIGTERM @CMDLINE_RE foo /// exit 0
@EXE_INSTEAD_OF_SIGTERM @PROCESSNAME_RE foo /// kill -9 $PID
@EXE_INSTEAD_OF_SIGTERM @UID_RE foo /// pkill $NAME
5. GUI nitifications
$GUI_CORRECTIVE_ACTIONS = FALSE
$GUI_LOW_MEMORY_WARNINGS = FALSE
$GUI_WARNINGS_MIN_MEM = 20%
$GUI_WARNINGS_MIN_SWAP = 20%
$GUI_WARNINGS_MAX_ZRAM = 45 %
$GUI_MIN_TIME_BETWEEN_WARNINGS = 15
$GUI_ENV_CACHE_TIME = 60
@EXE_INSTEAD_OF_WARNINGS sendmail foo &
6. Adjusting badness of processes
@ -56,15 +55,8 @@ $GUI_ENV_CACHE_TIME = 60
7. Avoiding killing small processes (innocent victims)
$MIN_VICTIM_BADNESS = 10
$MIN_VICTIM_VM_RSS = 20 M
8. Self-protection
$MLOCKALL = FALSE
$REALTIME_IONICE = FALSE
$NICENESS = -9
9. Verbosity
8. Verbosity
$PRINT_CONF_AT_STARTUP = FALSE
$PRINT_MEM_CHECK_RESULTS = FALSE