All top links when Googling for OOM score seem to indicate that the values must be between -1000 and 1000.

I tried to verify that with a simple cat /proc/*/oom_score | sort -n | less and I encountered all sorts of values ranging from 0 to 30132501, with the vast majority being between 1000 and 10000.

How should I interpret this?

To my knowledge nothing is manually adjusting the oom_score files.

System information:

%uname -a
Linux hhgw16 2.6.18-371.el5 #1 SMP Tue Oct 1 08:35:08 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

% lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 5.10 (Final)
Release:        5.10
Codename:       Final
  • Could it be that this rule only applies for the newer version of the OOM killer (as outlined here) and since this is an older version of the kernel (2.6.18 < 2.6.36) the rules are different? – Nobilis Apr 6 '16 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.