- Newest
- Most votes
- Most comments
Hello.
If the EC2 instance setup is the default, the instance type will be a small size such as "t2.micro".
If this happens, the CPU and memory will be considerably smaller, which may result in unstable operation depending on the application being run.
https://aws.amazon.com/ec2/instance-types/?nc1=h_ls
I recommend checking the system log to see if any errors are output.
Also, consider moving to a larger instance type in some cases.
Upgrading to t2.small solved the issue. It was probably a memory requirement I suspect since using more available memory will revert to swap space & that will likely be limited in the case of a virtual machine due to it falling back to yet more memory on the host required to perform the operation -- which won't happen on AWS it seems as this appears to be a hard limit in my experience. Logs included no information about this for the same reason as above. It would be nice if AWS would just advertise this directly instead of having instances fail cryptically with no notification.
Relevant content
- asked 5 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 6 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
By installing CloudWatch Agent, it is possible to monitor EC2 memory usage. Why not install this and have it notify you when memory usage is high? https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/metrics-collected-by-CloudWatch-agent.html