I ran into this the other day, my ECS instances were dieing off and docker ps
showed Exited (137) About a minute ago
. Looking at docker inspect
I noticed:
1 2 3 4 |
|
This tells me that ECS / Docker enforced the memory limit for the container, and the out-of-memory-killer killed off the contained processes. Raising the ECS memory limit for this process resolved the issue.