This commit is contained in:
Alexey Avramov 2019-03-31 14:40:42 +09:00
parent 37dca8c138
commit f4cac53313
2 changed files with 9 additions and 1 deletions

View File

@ -82,6 +82,10 @@ ignore_psi = True
psi_path = /sys/fs/cgroup/unified/system.slice/memory.pressure
psi_path = /sys/fs/cgroup/unified/system.slice/foo.service/memory.pressure
Execute the command
find /sys/fs/cgroup | grep -P "memory\.pressure$"
to find available memory.pressue files (except /proc/pressure/memory).
psi_path = /proc/pressure/memory
Valid psi_metrics are:

View File

@ -82,6 +82,10 @@ ignore_psi = True
psi_path = /sys/fs/cgroup/unified/system.slice/memory.pressure
psi_path = /sys/fs/cgroup/unified/system.slice/foo.service/memory.pressure
Execute the command
find /sys/fs/cgroup | grep -P "memory\.pressure$"
to find available memory.pressue files (except /proc/pressure/memory).
psi_path = /proc/pressure/memory
Valid psi_metrics are:
@ -415,7 +419,7 @@ max_post_sigterm_victim_lifetime = 10
Execute the command after sending SIGKILL to the victim if the value is
not empty line. For example:
warning_exe = cat /proc/meminfo &
post_kill_exe = cat /proc/meminfo &
post_kill_exe =