- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi there,
I see that you have issues with your EC2 instance that keeps on crushing frequently.
There are many possible causes that can lead to this such as:
- Memory being over utilized by your applications.
- Application errors/bugs.
- Kernel panics.
Since these are based on the Operating System level, I would recommend that you review /var/log/syslog or /var/log/messages logs which records all activities within your system. I would further recommend that you also benchmark the memory and CPU needs of your applications using some bench-marking tools available like SAR utility. Please refer to the this[1,2] public documentation to learn more about the tools and how to utilize them. Then based on the results of bench-marking, you can either fine tune your application according to the available resources or you could upgrade[3] to an instance with better memory and CPU capabilities.
[1] How do I configure the ATOP and SAR monitoring tools for my EC2 instance running Amazon Linux - https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-configure-monitoring-tools/
[2] linux server administration/sar - https://en.wikiversity.org/wiki/Linux_server_administration/sar#:~:text=sar%20(System%20Activity%20Report)%20is,and%20recent%20recorded%20system%20performance.
[3] Change the instance type - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a un an