Difference between revisions of "Out of Memory (OOM)"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
== OOM in Docker ==
+
== OOM in [[Docker]] ==
 
* [[Docker]]: <code>--oom-kill-disable=false</code> To enable or disable [[OOM Killer]] for the container.
 
* [[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:
 
Use <code>[[docker inspect]] CONTANINER_NAME | grep OOM</code> to show options. For example:

Revision as of 03:08, 25 October 2022

wikipedia:Out of memory


OOM in Docker

  • Docker: --oom-kill-disable=false To enable or disable OOM Killer for the container.

Use docker inspect CONTANINER_NAME | grep OOM to show options. For example:

docker inspect grafana | grep -i OOM
           "OOMKilled": false,
           "OomScoreAdj": 0,
           "OomKillDisable": false,

Kubernetes

OOM Linux kernel logs

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

Redis

Related terms

See also

Advertising: