by Abundnce10 · 11y ago · 0 comments
I'd love to be able to identify the root cause of the instance locking up. It seems like this article is more about the commands you'd run to assess the health of an active/working EC2 instance and not one that you're unable to SSH into. Any idea on how to identify the problem with my EC2 instance?
For things like databases, you can gather more specific information as well, for example number of queries and connections, failed transactions and the likes.
If you have a hunch what it might be, you could try to counter-act, for example limiting memory, number of processes, or use cgroups to limit IO rate (see for examplehttp://unix.stackexchange.com/questions/48138/how-to-throttl...).
Also leave a ssh connection with something like htop or atop open, and look at it once it freezes up.