fix psi
This commit is contained in:
parent
af7ff8fcd0
commit
afbd49c7f2
10
nohang
10
nohang
@ -2084,8 +2084,8 @@ mlockall()
|
||||
##########################################################################
|
||||
|
||||
|
||||
if print_proc_table:
|
||||
find_victim(print_proc_table)
|
||||
# if print_proc_table:
|
||||
find_victim(print_proc_table)
|
||||
|
||||
log('Monitoring started!')
|
||||
|
||||
@ -2146,8 +2146,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
|
||||
@ -2157,8 +2156,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
|
||||
|
Loading…
Reference in New Issue
Block a user