EC2 - Bitnami WordPress - t2.large - Crashing constantly, requires reboot

0

Can't find a solution to this online. It's been happening once every few weeks. Thanks for any help.

asked 2 years ago738 views
1 Answer
0

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

Karabo
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions