G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
Dec 30, 2021 · Cloud Native

Why Kubernetes OOM Kills Use WSS, Not RSS – Diagnose & Fix Container Memory

After moving IoT services to Kubernetes, containers were OOM‑killed despite RSS staying below limits because Kubernetes bases OOM decisions on the Working Set Size (WSS) metric, which includes file cache, and the article explains its calculation, reproduces the issue, and offers practical mitigation strategies.

Cache ManagementContainer MemoryKernel Parameters
0 likes · 12 min read
Why Kubernetes OOM Kills Use WSS, Not RSS – Diagnose & Fix Container Memory