INF-004: Memory Limits for All Containers¶
This Reference preserves the recorded requirement contract.
The front matter states its lifecycle status; this editorial notice does not change that status.
An ACTIVE contract is not a historical implementation or qualification result.
The statement, rationale, identifiers, and traceability below keep their recorded meaning.
The original file is available at source revision 6d35d245f11a.
Statement¶
Every container shall declare a memory limit (deploy.resources.limits.memory) to prevent resource starvation. Limits range from 128MB (DNS, Redis) to 2GB (Wazuh Indexer) based on observed usage.
Rationale¶
Without memory limits, a single container can consume all available host memory, causing OOM kills across the entire lab.
Traceability¶
- IMPLEMENTS → ADR
docs/adrs/adr-005-docker-compose-profiles.md(ADR-005: Docker Compose Profiles)