Server crashes when using WordPress API for image uploads and post creation on LightSail

0

I'm currently using WordPress on AWS LightSail and have encountered an issue. When I use the WordPress API to upload images and create posts, the server crashes after just a few posts. Even though I'm maintaining a CPU burst capacity of over 95%, the server goes down.

  • I'm creating one post every 5 minutes.
  • Each post contains about 10 image uploads.

Any insights into this would be greatly appreciated.

retries
gefragt vor 8 Monaten235 Aufrufe
1 Antwort
0

Hello.

Is the size of the image large?
If the specs of Lightsail are low, I think there will be a reasonable load on the upload.
Also, if you check the error logs such as Apache, there may be a log output that leads to some cause identification.

profile picture
EXPERTE
beantwortet vor 8 Monaten
  • hello! Images are less than 150KB each. I can't find any specific problems in the Apache logs.

  • Will raising Lightsail's specs solve the problem?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen