aws / aws/containers-roadmap

[ECS] Add support --oom-kill-disable docker arg

Open
#753 9 comments 18 reactions 0 assignees View on GitHub
ECS
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Summary

ECS should support the `--oom-kill-disable` docker flag

### Description

We have an application that uses up as much memory as it can as performance is proportional to memory, so we set a hard limit on the containers in ecs, however the OOM killer kills the application as soon as the application receives an OOM, even though the application is equipped to handle OOM errors appropriately. Is there anyway we can disable the OOM killer for ECS containers which resembles the `--oom-kill-disable` flag in docker or can we add this feature?

Contributor guide

Open the contributing guide

Research direction

The issue names ECS containers and Docker's `--oom-kill-disable` flag but provides no repository files, tests, or implementation entry point. Start by determining whether ECS exposes an equivalent container setting and what service constraints apply. Done would mean a supported way to disable the OOM killer for ECS containers, with the behavior documented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.