Lightsail Instance 1GB/1Core Keeps going down

0

I've tried running a LightSail WordPress instance for awhile now (4-5 months) and I'm having some stability problems. I started out with the low end instance 512MB/1Core and started having issues where it will occasionally go down. It says still running but it's unreachable. This is usually coincided with some network traffic and a short CPU spike. This usually doesn't last very long but it never comes back up. If I stop, wait, start then it works again. If I add a R53 healthcheck it will go down within 24 hours. I only get about 50 visits a day (max) to the site so I know it's very low traffic.

I thought maybe the instance was underpowered so I upped it to 1GB/1core and it went down again today after running only about 1 day.

There's clearly something wrong here. Can I get some assistance on determining what is going on here?

Thanks in advance!

snag01
feita há 5 anos658 visualizações
3 Respostas
1
Resposta aceita

I'm able to run a number of basic wordpress servers in a single 512mb lightsail instance.

The only thing I did was buy 8gb of extra storage and make it a swap partition.

Before I had the swap partition, the mySQL server was constantly crashing due to OOM problems.

I blogged about it here: https://www.geekyramblings.net/2018/02/01/amazon-lightsail#512mb-isnt-a-lot-of-memory

david

profile picture
David G
respondido há 5 anos
profile picture
ESPECIALISTA
avaliado há 2 dias
0

David, thank you. I will give this a shot and see if it fixes my problem. I appreciate you taking the time to respond to my question.

I will let you know how it works out!

Regards,

Shawn

snag01
respondido há 5 anos
0

This definitely fixed my problem. After implementing a swapfile, the instance has been stable ever since.

I appreciate your help!!

snag01
respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas