Wordpress website crashes every few days - requires restarting web server to go back up

Keywords: WordPress - AWS - Technical issue - Other

bndiagnostic ID: 42e9b210-66d9-04db-53da-43c55466ee1f

bndiagnostic output:

? Apache: Found possible issues
? Mariadb: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-mariadb/

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

Description:
The website constantly crashes every few days, and doesn’t go back up until I restart the server. I ran the bndiagnostic tool but it didn’t report anything useful.

Any help would be greatly appreciated.
Thanks.

Hi @e.najjar,

I found the following errors:

  • In the Apache’s log, I can see many lines like these ones. Please take a look at this
[Thu Jan 13 15:00:12.709441 2022] [proxy_fcgi:error] [pid 803:tid 140715938014976] [client 162.158.129.15:34920] AH01071: Got error 'PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with        wp_doing_ajax.PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax.', referer: http://store.eliteclub.global/wp-admin/edit.php?post_type=shop_order
[Thu Jan 13 15:02:13.059810 2022] [proxy_fcgi:error] [pid 1620:tid 140715795404544] [client 188.114.103.240:18464] AH01071: Got error 'PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with      wp_doing_ajax.PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax.', referer: http://store.eliteclub.global/wp-admin/edit.php?post_type=shop_order
[Thu Jan 13 15:02:27.159526 2022] [proxy_fcgi:error] [pid 1619:tid 140716105737984] [client 108.162.229.51:62920] AH01071: Got error 'PHP message: PHP Warning:  Illegal string offset 'command' in /bitnami/wordpress/wp-    content/plugins/amazon-payment-services/classes/class-wc-gateway-aps-super.php on line 512', referer: http://store.eliteclub.global/wp-admin/edit.php?post_type=shop_order
[Thu Jan 13 15:02:27.570121 2022] [proxy_fcgi:error] [pid 1454:tid 140716295468800] [client 162.158.129.143:38198] AH01071: Got error 'PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with      wp_doing_ajax.PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax.', referer: http://store.eliteclub.global/wp-admin/edit.php?post_type=shop_order
  • Apart from that, PHP-FPM is reaching the limits
[12-Jan-2022 03:28:14] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 27 idle, and 52 total children
[12-Jan-2022 03:28:15] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it

https://docs.bitnami.com/aws/apps/wordpress/configuration/configure-phpfpm-processes/

This may be related to some bots/attackers accessing your site with malicious intentions, please take a look at this guide to see if you find something strange in the requests

https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/deny-connections-bots-apache/

Happy to help!


Was my answer helpful? Click on :heart:

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