使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

Wordpress web site not working

0

I have a wordpress iste, and it just crashed, the server is intermittent and sometimes I can't access it. romariadiscos.com.br

已提問 2 年前檢視次數 376 次
4 個答案
0

Hi, let me ask you some questions. Did you check the server's memory? What instance are you using to run wordpress? Is that an EC2 instance? Are you using apache for the server?

已回答 2 年前
0

Hello! I am using ligthsail 1 GB RAM, 1 vCPU, 40 GB SSD. I'm a little newbie in the subject, but ligthsail seemed very practical.

已回答 2 年前
0

Sorry to hear that, as a newbie you should not face this kind of situation. Rember we learn from the mistake or accidents. In your situation, there is a few services are involved, and I do not have access all of the services. It appears you have activated e-commerce themes, if I am not wrong which may require more than 1 GB RAM. (Apache2 and httpd both are web servers, but require different tools and commands to diagnoise the problem at times).

Please navigate the following link, it may be tough for you at the beginning, but do not give up hope.

https://aws.amazon.com/premiumsupport/knowledge-center/lightsail-instance-failed-status-check/

Please advise me your findings.

已回答 2 年前
0

Hi again, Lightsail is a nice service to start with! Especially using Wordpress. As said above you might use too much memory for your server. 1GB RAM is really short for an Wordpress server. Still, if you are using Apache (httpd) I might know a workaround. However, I would need you to tell me how the memory is used on your instance.

To check your memory on your Wordpress instance, do the following steps:

  1. From Lightsail console, connect to your instance.
  2. Then execute the following command in the cmd line to check in detail your memory:

ps -o pid,user,%mem,command ax | sort -b -k3 -r

Result should look like this :

PID USER %MEM COMMAND

  • 11806 apache 8.1 php-fpm: pool www
  • 11812 apache 7.7 php-fpm: pool www
  • 11811 apache 7.5 php-fpm: pool www
  • 11810 apache 7.3 php-fpm: pool www
  • 11809 apache 7.3 php-fpm: pool www

If you have any php-fpm: pool www this might be the cause of the issue! If so, tell me and I'll tell you how to process to minimize memory use in your instance!

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南