fix psi
This commit is contained in:
parent
3427fe459a
commit
bb1016896f
6
nohang
6
nohang
@ -2132,8 +2132,7 @@ while True:
|
|||||||
mem_info = 'PSI avg value ({}) > sigkill_psi_threshold ({})'.format(
|
mem_info = 'PSI avg value ({}) > sigkill_psi_threshold ({})'.format(
|
||||||
psi_avg_value, sigkill_psi_threshold)
|
psi_avg_value, sigkill_psi_threshold)
|
||||||
|
|
||||||
# implement_corrective_action(SIGKILL)
|
implement_corrective_action(SIGKILL)
|
||||||
print('implement!')
|
|
||||||
|
|
||||||
psi_t0 = time()
|
psi_t0 = time()
|
||||||
continue
|
continue
|
||||||
@ -2143,8 +2142,7 @@ while True:
|
|||||||
mem_info = 'PSI avg value ({}) > sigterm_psi_threshold ({})'.format(
|
mem_info = 'PSI avg value ({}) > sigterm_psi_threshold ({})'.format(
|
||||||
psi_avg_value, sigterm_psi_threshold)
|
psi_avg_value, sigterm_psi_threshold)
|
||||||
|
|
||||||
# implement_corrective_action(SIGTERM)
|
implement_corrective_action(SIGTERM)
|
||||||
print('implement!')
|
|
||||||
|
|
||||||
psi_t0 = time()
|
psi_t0 = time()
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user