Grokking Operating Systems and Networking for Backend Engineers
0% completed
The OOM Killer and Memory Limits
A Checkout server runs two processes in one memory limit of 300 MB: price-cache, which has held 180 MB of prices all morning, and report-job, which grows while it builds a daily report. When the limit is reached, the kernel log records a report that includes this line:
Output:
Memory cgroup out of memory: Killed process <pid> (price-cache) total-vm:202832kB, anon-rss:188220kB, file-rss:6596kB, shmem-rss:0kB, UID:0 pgtables:436kB oom_score_adj:500
The process that kept growing survived
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%