Day 2: Busy but Idle, and Killed With Memory to Spare
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer Two puzzles. A server's processor is only 10% used, but its load average is 20. Separately, a program is stopped for using too much memory although the server has memory free. Explain both.
In plain words
The first puzzle: one number says the computer is nearly idle, another says it is very busy. Both are true, because they count different things.
The second puzzle: a program was stopped for running out of memory, yet the computer had memory left. The clue is to ask whose limit was reached.
Words you need
| Word | What it means |
|---|---|
| Load average | Roughly, how many processes want to do something right now, averaged over the last 1, 5 and 15 minutes. |
| I/O | Input and output: reading from or writing to a disk or the network. |
| OOM kill | OOM means out of memory. The system stops a program abruptly because a memory limit was reached. |
| Container | A sealed box a program runs in, with its own ceiling on memory. |
Your answer
2:00
Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.
0 / 20,000 characters · Not saved