Editing Out of Memory (OOM)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | {{Draft}} | ||
[[wikipedia:Out of memory]] | [[wikipedia:Out of memory]] | ||
+ | [[EarlyOOM]] | ||
− | == OOM in | + | |
− | * [[Docker]]: <code>--oom-kill-disable=false</code> To enable or disable [[OOM Killer]] for the | + | == OOM in Docker == |
− | Use <code>[[docker inspect]] CONTANINER_NAME | | + | * [[Docker]]: <code>--oom-kill-disable=false</code> To enable or disable [[OOM Killer]] for the container. |
− | + | Use <code>[[docker inspect]] CONTANINER_NAME | grep OOM</code> to show options. For example: | |
+ | docker inspect grafana | grep -i OOM | ||
+ | "OOMKilled": false, | ||
+ | "OomScoreAdj": 0, | ||
+ | "OomKillDisable": false, | ||
== Kubernetes == | == Kubernetes == | ||
− | * | + | * [[Pod The node had condition:]] |
− | |||
− | |||
== OOM Linux kernel logs == | == OOM Linux kernel logs == | ||
− | Jan 26 04:40:29 SERVER_NAME kernel: [[runc]]:[2:INIT] invoked [[oom-killer]]: | + | Jan 26 04:40:29 SERVER_NAME kernel: [[runc]]:[2:INIT] invoked [[oom-killer]]: gfp_mask=0x14000c0(GFP_KERNEL), nodemask=(null), order=0, oom_score_adj=0 |
Jan 26 04:40:29 SERVER_NAME kernel: [[oom_reaper]]: reaped process 22572 (java), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB | Jan 26 04:40:29 SERVER_NAME kernel: [[oom_reaper]]: reaped process 22572 (java), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
− | |||
* [[Out of space]] | * [[Out of space]] | ||
* <code>[[/proc/sys/vm/]]panic_on_oom</code> | * <code>[[/proc/sys/vm/]]panic_on_oom</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{memory}} | * {{memory}} | ||
* {{OOM}} | * {{OOM}} | ||
+ | * {{Linux Kernel}} | ||
* [[ENOMEM]] | * [[ENOMEM]] | ||
− | |||
[[Category:computing]] | [[Category:computing]] |
Advertising: