Amazon Linux 2 vs AL2023: The /tmp tmpfs Default That's Killing Your Containers
We upgraded from Amazon Linux 2 to AL2023 and our containers started OOM killing. The culprit: AL2023 mounts /tmp as tmpfs by default, capped at 50% of host RAM. Applications writing heavily to /tmp exhausted memory instead of disk. Here's what changed, why it happened, and three ways to fix it.
