linux_wiki:oom_killer

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:oom_killer [2015/01/22 23:18]
billdozor created OOM killer page
linux_wiki:oom_killer [2015/03/09 22:32]
billdozor
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>
  
 ---- ----
  
-===== Tuning =====+===== Memory Tuning =====
  
 Normally, when OOM is called, it is because an application has been poorly coded or configured to ask for a ridiculous amount of memory that it doesn't actually need. Then, when the application misbehaves and starts to crash/fork, it eats up a ton of memory very quickly...OOM steps in and starts killing things. Normally, when OOM is called, it is because an application has been poorly coded or configured to ask for a ridiculous amount of memory that it doesn't actually need. Then, when the application misbehaves and starts to crash/fork, it eats up a ton of memory very quickly...OOM steps in and starts killing things.
  • linux_wiki/oom_killer.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)