Translate

Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Operating System Concepts
Image of Beginning Google Maps API 3

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

Tuning The Kernel Swappiness

The /proc/sys/vm/swappiness kernel parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory. Swappiness can have a value of between 0 and 100 where: 0 – instructs the kernel to avoid swapping processes out of physical memory for as long as possible. 100 – instructs the kernel to aggressively swap processes out of physical memory. The default value in Red Hat and Ubuntu distributions