Daily Unresponsive Server $5 Ubuntu, 1GB Ram, 1vCPU, 40GB SSD

0

(Ubuntu, 1GB Ram, 1 vCPU, 40GB SSD) $5

I'm having daily unresponsive issue with my $5 a month Ubuntu instance hosted on AWS.
I'm hosting WordPress on Ubuntu 20.04 LTS, but everyday since I setup the server, I need to reboot it.
It will work for a day then the next day its unresponsive.
I don't see an issue with my utilization or capacity via AWS metrics and I don't believe anyone is trying to DDOS or Hack me as I don't see any information from WordFence but I cant SSH via terminal/AWS Terminal nor can I ping my instance after a day.

Would anyone be able to assist?

I screenshot AWS Metric, SSH/Ping CMDs, and Wordpress's WordFence Plugin datasheet below
https://ibb.co/pvfRwsR (Hosted on ImgBB)

Anoluck
asked 3 years ago276 views
3 Answers
0

Are you running everything (database, web server, etc) on the same machine?

I've found that the lower tier configurations don't have enough memory to handle a database & web server at the same time.

You might be able to mitigate the problem by adding a swap partition. I blogged about it here: https://geekyramblings.net/lightsail-swap

profile picture
David G
answered 3 years ago
0

David G wrote:
Are you running everything (database, web server, etc) on the same machine?

I've found that the lower tier configurations don't have enough memory to handle a database & web server at the same time.

You might be able to mitigate the problem by adding a swap partition. I blogged about it here: https://geekyramblings.net/lightsail-swap

We recently had a similar situation on a lower config and discovered it was the file/db backups, they were filling up the 40gb. Removing older ones and reducing the number of backups stored fixed the issue. Even visiting the backups page in Plesk would use up all the swap memory. We use Plesk/Ubuntu for pretty much all our Wordpress sites.

answered 3 years ago
0

Thanks you all, I will try to lower my memory usage and check on the backup.
This is a brand new WordPress I literally created a few days ago.
Its technically a development site so no traffic.
Before this I was using Bitnami Wordpress and since it didnt have any issues I didnt expect it to crash if I create a wordpress from scratch.
The con of using "Bitnami all in one wordpress package" is it hard to upgrade specific library such as PHP, Apache etc

Anoluck
answered 3 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