Less Traffic but too much CPU Load - Exceeding 90-95% sometimes

Keywords: WordPress + NGINX + SSL - AWS - Technical issue - Other

bndiagnostic ID: 5f2b53d4-62fb-6985-b524-df277f98cd35

bndiagnostic output:

? Nginx: Found possible issues
? Mariadb: Found possible issues
https://docs.bitnami.com/installer/infrastructure/nginx/troubleshooting/
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-mariadb/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
Hello,

This website, https://tamil.newsnext.live, was recently migrated to Bitnami AWS Nginx + SSL.

Even though traffic is low, (Today’s total page views were less than 2000 - Jetpack Stats: Screenshot by Lightshot). ), Still the site always returns 502 BAD GATEWAY. Too much CPU LOAD - sometimes exceeding 90-95 percent. (as shown by the WP SERVER STATS Plugin)

We kept the instance on t3a.medium when launching it for the first time.
However, it crashed again after a few minutes, and it is now back online on t3a.xlarge after some trial and error.

But my point is that t3a.xlarge is way too expensive for this amount of traffic, right?

According to my understanding, t3a.medium would be more than adequate for the amount of traffic the site receives (correct me if I’m wrong).

What could have gone wrong, and what can we do to get it back on track?

Please guide us! Thanks in advance

Hi @vgnavada,

I can see PHP-FPM is reaching the limits so that’s a big problem.

sudo cat /opt/bitnami/php/logs/php-fpm.log

You can increase those parameters in the /opt/bitnami/php/etc/memory.conf file and restart the services.

However, this shouldn’t be the case of the CPU exceeding these values. In this case, I can see you have many WP plugins and maybe the app or the plugins are working under the hood and that’s why the CPU is being used intensively. You can ask the WordPress’ developers to know more about this.

https://wordpress.org/support/

That depends on the app, the plugins and the traffic. Please ask the WordPress developers to confirm this

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.