FerryDocs
ArchitectureReconciler

The OOM watcher

The OOM watcher writes a warning in the server log each time the kernel kills a container for memory.

Edit on GitHub
oomInstanceOOM killDockerOOM watcherServer log

A container goes over its memory limit. The kernel kills it.

1 / 4

The follows the oom events of Docker for the containers of this server.

Server log
instance a1b2c3 of service 'web' ran out of memory (limit 512 MiB) — raise the service's memory limit

Why it exists

The does the . Docker then restarts the container by itself. Then Docker clears the flag that tells about the kill.

Without the watcher, nobody sees a container that crashes again and again at its memory limit.

On this page