Interview practice question
Server is swapping heavily
Cloud & DevOps · Linux and Scripting · Intermediate
A database server has become very slow, and vmstat shows constant swap in and swap out. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Confirm with vmstat si/so, free.
- Identify memory-hungry processes.
- Reduce memory settings (DB buffers) or add RAM.
- Tune swappiness.
- Avoid running other workloads on DB host.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.