kernel_oom
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
kernel_oom [2016/05/04 06:53] – luke7858 | kernel_oom [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === OOM Killer === | + | === Understanding |
OOM killer is invoked by the kernel when the system runs out of memory | OOM killer is invoked by the kernel when the system runs out of memory | ||
\\ | \\ | ||
^ File ^ Description ^ | ^ File ^ Description ^ | ||
| oom_adj | Since Linux Kernel 2.6.36 this file has been deprecated. The new file is oom_score_adj | | | oom_adj | Since Linux Kernel 2.6.36 this file has been deprecated. The new file is oom_score_adj | | ||
- | | oom_score_adj | This file can be used to adjust the ' | + | | oom_score_adj | This file can be used to adjust the ' |
- | | oom_score | This displays the current score that the kernel has given to a process. The process score | | + | | oom_score | This displays the current score that the kernel has given to a process. The process score can increase or decrease depending on the following factors: \\ \\ - whether the process creates a lot of children using fork(2) (+); \\ - whether the process has a low nice value (i.e., > 0) (+); \\ - whether the process has been running a long time, or has used a lot of CPU time (-);\\ - whether the process is privileged (-); \\ - whether the process is making direct hardware access (-) | |
\\ | \\ | ||
Highest value in the file is killed first. | Highest value in the file is killed first. |
kernel_oom.1462344799.txt.gz · Last modified: 2024/05/23 07:26 (external edit)