Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
792 stars 109 forks source link

Use -999 as OOM adj #275

Closed pizhenwei closed 1 year ago

pizhenwei commented 1 year ago

The atop deployment usually follows the rules:

OOM_SCORE_ADJ_MIN(-1000) is a magic number which could not be killed by memory cgroup, this breaks the rules.

Detail of OOM_SCORE_ADJ_MIN, see linux/mm/oom_kill.c /*

Use -999 instead of -1000 as atop default OOM adj.