mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
earlyoom checks the amount of available memory and swap at an adaptive rate for up to 10 times per second. When both available memory and swap are below threshold, it'll send SIGTERM or SIGKILL to the process with the highest oom_score. Details about oom_score can be obtained at https://man7.org/linux/man-pages/man5/proc_pid_oom_score.5.html Signed-off-by: Alice H. <alice.hall0451+github@gmail.com>