Where to start First steps track · 15 stages
Linux Labs

Inside the system: resources, kernel, processes

Quiz: CPU, memory and OOM

Question 8 of 8
Leave the quiz

Read the output

The machine has about 300 MiB available, and the lab-thumbs service needs about 100 MiB for its work. What stops the restart loop?

$ sudo journalctl -u lab-thumbs -n 4
lab-thumbs.service: A process of this unit has been killed by the OOM killer.
lab-thumbs.service: Main process exited, code=killed, status=9/KILL
lab-thumbs.service: Failed with result 'oom-kill'.
lab-thumbs.service: Scheduled restart job, restart counter is at 3.
$ systemctl show -p MemoryMax lab-thumbs
MemoryMax=67108864
Back A–D or ↵ Sign in to answer
Loading…