advancedTop 100 Interview Questions
Why is it risky to set no memory limit on a production container?
Without a memory limit (cgroup constraint), a container with a memory leak or unexpectedly high load can consume all available host memory, starving other containers on the same host and potentially triggering the kernel's OOM killer to terminate arbitrary processes rather than just the offending one in a controlled way.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response