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
質問済み 3年前283ビュー
3回答
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
回答済み 3年前
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.

回答済み 3年前
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
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ