Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't kill anything if there's not enough anon memory used
When /dev/shm and /tmp (when on tmpfs) gets filled up, earlyoom would start killing everything, without improving the situation. Check if we *possibly* could kill enough processes (i.e. anon memory) to get the available memory over the minimum. If not, do nothing. Fixes: #274 Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012870
- Loading branch information