From 2bc9a6b33ed813a8c434b2296903cc58d65f9ece Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sat, 22 Jun 2019 12:53:06 +0900 Subject: [PATCH] fix conf --- my_desktop.conf | 12 ++++++------ nohang.conf | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/my_desktop.conf b/my_desktop.conf index 4592908..a4e4b70 100644 --- a/my_desktop.conf +++ b/my_desktop.conf @@ -101,15 +101,15 @@ psi_path = /proc/pressure/memory some_avg10 is most sensitive. -psi_metrics = full_avg10 +psi_metrics = some_avg10 -sigterm_psi_threshold = 85 -sigkill_psi_threshold = 95 +sigterm_psi_threshold = 60 +sigkill_psi_threshold = 90 >= 0, float psi_excess_duration = 60 -psi_post_action_delay = 120 +psi_post_action_delay = 90 ############################################################################### @@ -285,7 +285,7 @@ warning_exe = mem_min_warnings = 25 % -swap_min_warnings = 50 % +swap_min_warnings = 35 % zram_max_warnings = 40 % @@ -293,7 +293,7 @@ psi_avg_warnings = 100 Valid values are floating-point numbers from the range [1; 300]. -min_time_between_warnings = 15 +min_time_between_warnings = 20 Ampersands (&) will be replaced with asterisks (*) in process names and in commands. diff --git a/nohang.conf b/nohang.conf index e6b33e9..ede1df3 100644 --- a/nohang.conf +++ b/nohang.conf @@ -101,15 +101,15 @@ psi_path = /proc/pressure/memory some_avg10 is most sensitive. -psi_metrics = full_avg10 +psi_metrics = some_avg10 -sigterm_psi_threshold = 85 -sigkill_psi_threshold = 95 +sigterm_psi_threshold = 60 +sigkill_psi_threshold = 90 >= 0, float psi_excess_duration = 60 -psi_post_action_delay = 120 +psi_post_action_delay = 90 ############################################################################### @@ -267,7 +267,7 @@ oom_score_adj_max = 0 - OOM prevention results and - low memory warnings -gui_notifications = True +gui_notifications = False Enable GUI notifications about the low level of available memory. Valid values are True and False. @@ -285,7 +285,7 @@ warning_exe = mem_min_warnings = 25 % -swap_min_warnings = 50 % +swap_min_warnings = 35 % zram_max_warnings = 40 % @@ -293,7 +293,7 @@ psi_avg_warnings = 100 Valid values are floating-point numbers from the range [1; 300]. -min_time_between_warnings = 15 +min_time_between_warnings = 20 Ampersands (&) will be replaced with asterisks (*) in process names and in commands.