Interview practice question
"Too many open files" errors inside a container
Cloud & DevOps · Docker · Experienced
A high-traffic service in a container fails with "too many open files." How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- File descriptor limit (ulimit nofile) reached.
- Check limits: /proc/<pid>/limits.
- Raise via --ulimit or daemon defaults.
- Look for FD leaks (unclosed sockets/files).
- Monitor open FDs.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.