linux_wiki:oom_killer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:oom_killer [2015/01/22 23:19]
billdozor
linux_wiki:oom_killer [2015/04/28 22:31]
billdozor [swappiness]
Line 1: Line 1:
 ====== OOM Killer ====== ====== OOM Killer ======
  
-Description: The Linux OOM (Out Of Memory) Killer is a kernel function that will automatically kill off processes if there is memory contention on a system.+**General Information** 
 + 
 +The Linux OOM (Out Of Memory) Killer is a kernel function that will automatically kill off processes if there is memory contention on a system. 
 + 
 +**Checklist** 
 +  * Distros: All, except for RHEL based kernel information at the end. 
 + 
 +----
  
 ===== OOM Function Details ===== ===== OOM Function Details =====
Line 27: Line 34:
 Example: Example:
 <code bash> <code bash>
-to do...+grep -i "out of memory" /var/log/kernel 
 +Jan 15 10:05:32 dbserver01 kernel: Out of memory: Kill process 39018 (mysqld) score 441 or sacrifice child
 </code> </code>
  
Line 73: Line 81:
  
 The setting is from 0 to 100. The setting is from 0 to 100.
-  * 0 = Avoid swapping for as long as possible+  * 0 = Very aggressively avoid swapping for as long as possible 
 +    * High risk of OOM killing from memory and I/O pressure 
 +  * 10 = Red Hat recommended for Oracle databases
   * **60 = Linux default**   * **60 = Linux default**
   * 100 = Aggressively swap from memory to disk   * 100 = Aggressively swap from memory to disk
  • linux_wiki/oom_killer.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)