adjust clamscan oom score
#!/bin/sh | |
# http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html | |
# https://backdrift.org/oom-killer-how-to-create-oom-exclusions-in-linux | |
echo 10 > /proc/self/oom_score_adj && /usr/bin/clamscan "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment