Difference between revisions of "Out of Memory (OOM)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
[[wikipedia:Out of memory]] | [[wikipedia:Out of memory]] | ||
+ | |||
+ | == OOM in Docker == | ||
* [[Docker]]: <code>--oom-kill-disable=false</code> Whether to disable [[OOM Killer]] for the container or not. | * [[Docker]]: <code>--oom-kill-disable=false</code> Whether to disable [[OOM Killer]] for the container or not. | ||
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 05:49, 26 April 2020
This article is a Draft. Help us to complete it.
OOM in Docker
- Docker:
--oom-kill-disable=false
Whether to disable OOM Killer for the container or not.
Use docker inspect CONTANINER_NAME | grep OOM
to show options. For example:
docker inspect grafana | grep -i OOM "OOMKilled": false, "OomScoreAdj": 0, "OomKillDisable": false,
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
See also
- Memory: memory pages, RAM, virsh Memory Commands, OOM, meminfo,
vmstat
, NAND, DDR,lsmem
,/dev/shm
,/proc/meminfo
,sar -r
, IOMMU,pmem
, Memory management, Garbage collector, THP, Linux Huge Page TLB - OOM, EarlyOOM, OOM Killer, MemoryPressure (K8s),
systemd-oomd, OOMKilled, oom-killer, memcpy
,sar -r
,Exit code: 137
- Linux Kernel: namespaces, Cgroups, OOM, proc, Linux Kernel changelog,
sysctl, userfaultfd
, Grub, ENOSPC, ENOMEM, DKMS, syscall, Transparent huge pages, smatch, sysfs, vm.swappiness, CFS, Runlevel, Jens Axboe, Consistent Network Device Naming, Initial ramdisk (initrd),modprobe
, MTD, Linux Kernel vulnerabilities,/sys/kernel/
, KernelCare,unix://
, Data Plane Development Kit (DPDK) - ENOMEM
Advertising: