I have a Linux box (running in AWS EC2 with the default Linux AMI) and after a while it stops accepting any incoming connections. Because I am running in EC2, there is no way to get access to the machine until I reboot it. EC2 also performs all kind of system checks and they seem to be fine. But http, https and ssl traffic is not accepted anymore.The box is running Docker with 1 NGINX and 5 identical NodeJS containers (for different regions). Does anyone have some pointers which metrics I should look at? It's a t2.small instance (1 CPU with 2GB RAM).The Docker host doesn't do anything, just serving the containers. But I guess if a container eats all resources, then the machine goes down completely.I have already setup a CloudWatch monitoring that monitors:CPU usage (and available CPU credits)Available system memory (seems to be pretty low)Total memory used by the NodeJS instances (almost 6GB)Amount of memory allocated by buffersFree diskspaceAnd for each NodeJS process, I monitor:Virtual memory usedCPU and memory usageIt looks like this:My NodeJS instances seem pretty heavy (>1GB of memory), but there's nothing fancy going on. Just some connections to some AWS Services (DynamoDB, S3, ...) and some lightweight REST calls.
Linux instance stops accepting connections
linux;ssh