Security Engineering
A Linux web service crashes every few days with "too many open files" while CPU and memory stay low and there is no unusual external traffic. What is the MOST likely cause?
Show the answer
Correct answerA. An application leaking file descriptors it never closes
AWhy this is right: Unclosed handles accumulate until the per-process descriptor limit is reached, causing the crash.
BWhy not this: A cipher mismatch fails individual handshakes and does not exhaust file descriptors.
CWhy not this: A DDoS would show abnormal inbound traffic; the stem says there is none.
DWhy not this: An expired certificate causes TLS validation failures, not descriptor-limit errors.
A "too many open files" error means the process hit its file descriptor limit. A gradual build-up over days with normal traffic points to handles that are opened and never released. A DDoS would show abnormal traffic, which the stem rules out.