From bb1016896fe2e0db4c961982bb7186c3fa40c49f Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sun, 24 Mar 2019 07:10:09 +0900 Subject: [PATCH] fix psi --- nohang | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nohang b/nohang index 27e86fd..d1d7cb5 100755 --- a/nohang +++ b/nohang @@ -2132,8 +2132,7 @@ while True: mem_info = 'PSI avg value ({}) > sigkill_psi_threshold ({})'.format( psi_avg_value, sigkill_psi_threshold) - # implement_corrective_action(SIGKILL) - print('implement!') + implement_corrective_action(SIGKILL) psi_t0 = time() continue @@ -2143,8 +2142,7 @@ while True: mem_info = 'PSI avg value ({}) > sigterm_psi_threshold ({})'.format( psi_avg_value, sigterm_psi_threshold) - # implement_corrective_action(SIGTERM) - print('implement!') + implement_corrective_action(SIGTERM) psi_t0 = time() continue