Each incoming connection to mongod consumes an OS file descriptor and provisions dedicated thread memory buffers (~1MB stack). Under container restart waves without strict client pooling caps, thousands of concurrent sockets starve system RAM and exhaust file descriptors.
Hardening requires setting ulimit -n 64000 and sizing client pool minimums/maximums appropriately.