I have an ExpressJS app running on EC2 in a docker container which suddenly stopped responding to any requests after 6 days of normal operation with similar requests. The CPU and network traffic looked normal, but I don't have memory metrics because AWS doesn't automatically collect those.
Once I restarted the container, it resumed responding to requests as normal.
Under what circumstances would an Express app stop responding to requests?
Possible causes I can think of:
- Code running stuck in an infinite loop (but this would max out the CPU)
- Memory full
What else could cause this?