From 2f02593652e28306ed6b38eebd346d355fffb17e Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Fri, 14 Dec 2018 20:45:36 +0900 Subject: [PATCH] fix conf --- nohang.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nohang.conf b/nohang.conf index ed57c80..ccb4b69 100644 --- a/nohang.conf +++ b/nohang.conf @@ -1,6 +1,8 @@ This is nohang config file. + Redesign of this config in progress. + Lines starting with #, tabs and spaces are comments. Lines starting with $ contain obligatory parameters. @@ -102,7 +104,7 @@ min_badness = 10 Valid values are non-negative floating-point numbers. min_delay_after_sigterm = 0.1 -min_delay_after_sigkill = 0.5 +min_delay_after_sigkill = 0.4 Процессы браузера chromium обычно имеют oom_score_adj 200 или 300. Это приводит к тому, что процессы хрома умирают @@ -199,7 +201,7 @@ re_match_uid = False Valid values are True and False. -execute_the_command = True +execute_the_command = False The length of the process name can't exceed 15 characters. The syntax is as follows: lines starting with keyword $ETC are @@ -215,7 +217,7 @@ execute_the_command = True $ETC mysqld /// systemctl restart mariadb.service & $ETC php-fpm7.0 /// systemctl restart php7.0-fpm.service -$ETC python3 /// exit 0 +$ETC foo /// exit 0 #####################################################################