Translate

Archives

Out of Memory Killer

I am logged in on pts/1 and using the Bash shell. As shown below, associated with my Bash shell process are three pseudo-files in procfs whose names start with oom. This post discusses the purpose of these files. # ps PID TTY TIME CMD 1688 pts/1 00:00:00 ps 10290 pts/1 00:00:00 sudo 10291 pts/1 00:00:00 su 10294 pts/1 00:00:00 bash # ls -l /proc/10294/oom* -rw-r–r–. 1 root root 0 Dec 26 17:13 /proc/10294/oom_adj -r–r–r–. 1 root root 0 Dec 26 17:13 /proc/10294/oom_score -rw-r–r–. 1 root root 0 Dec 26 17:13 /proc/10294/oom_score_adj # cat /proc/10294/oom_score 0 It turns out that these