Day 27: Fine for an Hour, Then Down, Every Time
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer A service works after it starts, then fails almost exactly one hour later. Restarting it fixes it. An hour after that it fails again. What is going on?
In plain words
The service has a pattern: start, work for an hour, fail. A restart buys exactly one more hour.
The interviewer wants to know what kind of fault behaves like this, what you would measure to prove it, and what the lasting fix is. Notice what the restart tells you.
Words you need
| Word | What it means |
|---|---|
| Uptime | How long a program has been running since it was last started. |
| Leak | A program takes something and never gives it back, so the amount it holds only grows. |
| Connection pool | A fixed set of ready-made connections, for example to a database, that requests borrow and return. |
| Thread | A worker inside a program. A program has many, and each handles one piece of work at a time. |
| File descriptor | A ticket a process holds for each file or network connection it has open. |
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