Skip to content
RED SAGSkills
mediumSite Reliability Engineer interview question

A Linux server running a service suddenly becomes slow. How do you investigate?

What the interviewer wants to hear

  • Use a method such as USE: utilization, saturation, errors per resource
  • Check load average, CPU, memory and swap, disk I/O, network
  • Use tools such as top, vmstat, iostat, ss, dmesg, journalctl
  • Check recent changes and application logs
  • Go deeper with perf or eBPF tools if needed

Model answer

I follow the USE method: for each resource I check utilization, saturation and errors. I start with uptime for load average, then top or htop to see CPU use and which processes are busy. vmstat 1 shows run queue length, swapping and I/O wait, and free shows memory pressure. iostat -x shows disk utilization and latency, and ss or sar show network connections and errors. dmesg and journalctl can reveal OOM kills, disk errors or throttling. I also check whether something changed recently, such as a deploy or a cron job. If the cause is still unclear, I use perf, flame graphs or eBPF tools like biolatency and offcputime to see where time is really going.

Can you answer it under time pressure?

Take a timed medium round and get scored on every answer.

Start mock interview

More medium Site Reliability Engineer questions