Replace with B2 archive contents
This commit is contained in:
2
config/cpu-killer.conf
Normal file
2
config/cpu-killer.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
check system $HOST
|
||||
if cpu usage > 95% for 5 cycles then exec "/usr/local/bin/kill-top-cpu.sh"
|
||||
21
config/earlyoom.conf
Normal file
21
config/earlyoom.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
# Default settings for earlyoom. This file is sourced by /bin/sh from
|
||||
# /etc/init.d/earlyoom or by systemd from earlyoom.service.
|
||||
|
||||
# Options to pass to earlyoom
|
||||
EARLYOOM_ARGS="-m 5 -s 5 --avoid '(^|/)(init|systemd|sshd)$' -r 60"
|
||||
|
||||
# Examples:
|
||||
|
||||
# Print memory report every second instead of every minute
|
||||
# EARLYOOM_ARGS="-r 1"
|
||||
|
||||
# Available minimum memory 5%
|
||||
# EARLYOOM_ARGS="-m 5"
|
||||
|
||||
# Available minimum memory 15% and free minimum swap 5%
|
||||
# EARLYOOM_ARGS="-m 15 -s 5"
|
||||
|
||||
# Avoid killing processes whose name matches this regexp
|
||||
# EARLYOOM_ARGS="--avoid '(^|/)(init|X|sshd|firefox)$'"
|
||||
|
||||
# See more at `earlyoom -h'
|
||||
3
config/orphan-claude-killer.conf
Normal file
3
config/orphan-claude-killer.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
check program orphan-claude-killer with path "/usr/local/bin/kill-orphan-claude.sh"
|
||||
every 15 cycles
|
||||
if status != 0 then alert
|
||||
Reference in New Issue
Block a user