Wordpress website hosted on Bitnami LAMP on Amazon lightsale keeps getting down

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)

bndiagnostic ID: 70ec767b-7221-1baa-a825-610e6c47ef5e

bndiagnostic output:

? Apache: Found possible issues
? Mariadb: Found possible issues
? Connectivity: Found possible issues
? Processes: 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/
https://docs.bitnami.com/general/faq/administration/use-firewall/

bndiagnostic failure reason: I do not know how to perform the changes explained in the documentation

Description:
We have a production Bitnami LAMP server from Amazon Lightsail, the website keeps getting down periodically with
no specific reasons and when we tried to access the server via ssh and FileZilla it is unable to connect. noting that the website is still new and dose not have much traffic on it at all.

each time we need to reboot the server to make it up and running again.

We appreciate your immediate help in this regard, as we can not find any solution for this behavior.

I have attached the bitnami-supp0rt-too ID for your reference.

There is a similar issue here, this post might help

@jota

I am running the correct permission command received from bitnami team which are as follows:
sudo chown -R bitnami:daemon /opt/bitnami/apache2/htdocs
sudo chmod -R g+w /opt/bitnami/apache2/htdocs
sudo chmod 640 /opt/bitnami/apache2/htdocs/wp-config.php

Regarding this point " * * PHP is reaching the limits (cat /opt/bitnami/php/logs/php-fpm.log). You will need to increase the number of processes in the /opt/bitnami/php/etc/memory.conf file""
can you please guide me on what should be done here , the number of this increasmnet and where to add the code. as I am not aware of the server side.

These commands modify the permissions, it has nothing to do with your performance issue.

Is there any error/warning in the PHP-FPM’s log?

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

@jota , yes, I have checked them in the path you mentioned, and here are the logs files:

[29-May-2022 01:31:47] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 18 idle, and 53 total children
[29-May-2022 01:31:48] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 01:32:48] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 01:33:11] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 01:33:41] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 01:35:36] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 52 total children
[29-May-2022 01:35:37] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 01:37:02] WARNING: [pool www] child 2640 exited on signal 9 (SIGKILL) after 172969.537982 seconds from start
[29-May-2022 01:37:02] WARNING: [pool www] child 26045 exited on signal 11 (SIGSEGV) after 317.365378 seconds from start
[29-May-2022 01:37:03] WARNING: [pool www] child 26115 exited on signal 11 (SIGSEGV) after 203.250086 seconds from start
[29-May-2022 01:37:03] WARNING: [pool www] child 9223 exited on signal 11 (SIGSEGV) after 136609.185975 seconds from start
[29-May-2022 01:37:03] WARNING: [pool www] child 26071 exited on signal 11 (SIGSEGV) after 316.661682 seconds from start
[29-May-2022 01:37:05] WARNING: [pool www] child 26265 exited on signal 11 (SIGSEGV) after 90.815734 seconds from start
[29-May-2022 01:37:07] WARNING: [pool www] child 30642 exited on signal 11 (SIGSEGV) after 206106.919257 seconds from start
[29-May-2022 01:37:10] WARNING: [pool www] child 27179 exited on signal 11 (SIGSEGV) after 6.734434 seconds from start
[29-May-2022 01:50:48] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 19 idle, and 52 total children
[29-May-2022 02:13:23] 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
[29-May-2022 02:13:24] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 02:13:36] WARNING: [pool www] child 28765 exited with code 1 after 15.071243 seconds from start
[29-May-2022 02:13:38] WARNING: [pool www] child 28775 exited with code 1 after 14.497627 seconds from start
[29-May-2022 02:13:38] WARNING: [pool www] child 28763 exited with code 1 after 17.521481 seconds from start
[29-May-2022 02:13:38] WARNING: [pool www] child 28764 exited with code 1 after 16.520144 seconds from start
[29-May-2022 02:17:51] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 56 total children
[29-May-2022 02:20:23] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 15 idle, and 52 total children
[29-May-2022 02:20:24] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 02:20:40] WARNING: [pool www] child 28929 exited with code 1 after 19.520792 seconds from start
[29-May-2022 02:20:40] WARNING: [pool www] child 28931 exited with code 1 after 18.699736 seconds from start
[29-May-2022 02:20:40] WARNING: [pool www] child 28938 exited with code 1 after 17.697978 seconds from start
[29-May-2022 02:20:40] WARNING: [pool www] child 28941 exited with code 1 after 17.697116 seconds from start
[29-May-2022 02:20:50] WARNING: [pool www] child 28944 exited with code 1 after 9.597398 seconds from start
[29-May-2022 02:20:50] WARNING: [pool www] child 28937 exited with code 1 after 27.299445 seconds from start
[29-May-2022 02:22:57] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 32 idle, and 51 total children
[29-May-2022 02:23:31] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 53 total children
[29-May-2022 02:23:32] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[29-May-2022 02:25:51] WARNING: [pool www] child 29420 exited with code 1 after 140.040633 seconds from start
[29-May-2022 02:26:11] WARNING: [pool www] child 29418 exited with code 1 after 159.997887 seconds from start
[29-May-2022 02:26:11] WARNING: [pool www] child 29422 exited with code 1 after 160.039994 seconds from start
[29-May-2022 02:26:11] WARNING: [pool www] child 29424 exited with code 1 after 160.039573 seconds from start
[29-May-2022 02:26:11] WARNING: [pool www] child 29421 exited with code 1 after 160.116579 seconds from start
[29-May-2022 02:26:12] WARNING: [pool www] child 28990 exited on signal 11 (SIGSEGV) after 213.013342 seconds from start
[29-May-2022 02:26:31] WARNING: [pool www] child 29145 exited on signal 11 (SIGSEGV) after 183.021525 seconds from start
[29-May-2022 02:34:38] WARNING: [pool www] child 29428 exited on signal 11 (SIGSEGV) after 506.281867 seconds from start
[29-May-2022 02:34:56] WARNING: [pool www] child 30114 exited with code 1 after 18.043450 seconds from start
[29-May-2022 02:35:34] WARNING: [pool www] child 30121 exited with code 1 after 38.044207 seconds from start
[01-Jun-2022 06:00:00] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 38 idle, and 50 total children
[01-Jun-2022 10:06:36] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 25 idle, and 52 total children
[01-Jun-2022 10:06:37] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 10:08:37] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 30 idle, and 52 total children
[01-Jun-2022 10:08:38] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 10:12:04] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 35 idle, and 52 total children
[01-Jun-2022 12:36:58] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 36 idle, and 52 total children
[01-Jun-2022 12:38:45] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 12:39:15] WARNING: [pool www] child 686 exited on signal 11 (SIGSEGV) after 9158.648270 seconds from start
[01-Jun-2022 12:39:15] WARNING: [pool www] child 724 exited on signal 11 (SIGSEGV) after 9039.702741 seconds from start
[01-Jun-2022 12:39:24] WARNING: [pool www] child 2449 exited on signal 11 (SIGSEGV) after 145.316656 seconds from start
[01-Jun-2022 12:42:56] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 36 idle, and 52 total children
[01-Jun-2022 12:45:37] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 38 idle, and 55 total children
[01-Jun-2022 12:46:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 38 idle, and 55 total children
[01-Jun-2022 12:46:57] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 39 idle, and 55 total children
[01-Jun-2022 12:50:22] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 52 total children
[01-Jun-2022 12:50:23] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 39 idle, and 55 total children
[01-Jun-2022 12:51:06] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 39 idle, and 54 total children
[01-Jun-2022 12:51:07] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 39 idle, and 55 total children
[01-Jun-2022 12:51:08] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 38 idle, and 56 total children
[01-Jun-2022 12:57:49] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 35 idle, and 52 total children
[01-Jun-2022 12:58:38] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 39 idle, and 55 total children
[01-Jun-2022 12:59:05] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 39 idle, and 55 total children
[01-Jun-2022 13:00:00] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 52 total children
[01-Jun-2022 13:01:44] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 38 idle, and 54 total children
[01-Jun-2022 13:02:56] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 52 total children
[01-Jun-2022 13:02:57] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 39 idle, and 55 total children
[01-Jun-2022 13:03:22] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 35 idle, and 52 total children
[01-Jun-2022 13:05:19] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 52 total children
[01-Jun-2022 13:08:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 38 idle, and 53 total children
[01-Jun-2022 13:08:18] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 26 idle, and 57 total children
[01-Jun-2022 13:08:19] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:10:24] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 22 idle, and 52 total children
[01-Jun-2022 13:10:25] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:10:46] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 52 total children
[01-Jun-2022 13:14:58] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 36 idle, and 52 total children
[01-Jun-2022 13:20:08] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 36 idle, and 52 total children
[01-Jun-2022 13:20:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 39 idle, and 56 total children
[01-Jun-2022 13:22:52] 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 56 total children
[01-Jun-2022 13:22:53] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:24:16] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 34 idle, and 52 total children
[01-Jun-2022 13:30:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 37 idle, and 52 total children
[01-Jun-2022 13:44:04] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:44:20] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:44:38] WARNING: [pool www] child 4811 exited on signal 11 (SIGSEGV) after 34.148475 seconds from start
[01-Jun-2022 13:44:45] WARNING: [pool www] child 4827 exited with code 1 after 7.339784 seconds from start
[01-Jun-2022 13:45:01] WARNING: [pool www] child 4807 exited on signal 11 (SIGSEGV) after 78.518548 seconds from start
[01-Jun-2022 13:46:39] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:46:48] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[01-Jun-2022 13:47:04] WARNING: [pool www] child 4709 exited with code 124 after 707.733721 seconds from start
[01-Jun-2022 13:47:11] WARNING: [pool www] child 4855 exited on signal 11 (SIGSEGV) after 63.133386 seconds from start
[01-Jun-2022 13:47:11] WARNING: [pool www] child 4795 exited on signal 11 (SIGSEGV) after 253.977749 seconds from start
[01-Jun-2022 13:47:28] WARNING: [pool www] child 4736 exited on signal 11 (SIGSEGV) after 588.432609 seconds from start
[01-Jun-2022 13:47:29] WARNING: [pool www] child 4858 exited with code 1 after 66.318230 seconds from start
[01-Jun-2022 13:48:05] WARNING: [pool www] child 4859 exited with code 1 after 98.179453 seconds from start
[01-Jun-2022 13:50:23] WARNING: [pool www] child 4885 exited with code 1 after 137.886404 seconds from start
[01-Jun-2022 13:51:58] WARNING: [pool www] child 4939 exited with code 1 after 94.633100 seconds from start
[01-Jun-2022 13:59:27] WARNING: [pool www] child 5139 exited with code 1 after 448.665801 seconds from start

[23-May-2022 07:17:45] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 36 idle, and 52 total children
[25-May-2022 21:45:19] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 34 idle, and 52 total children
[27-May-2022 01:34:13] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 38 idle, and 52 total children

The error is clear, PHP-FPM is reaching the limits. The post I shared above should help you fix these issues.

Hi @jota , I have read the post you’ve shared and all the bitnami guides in this regard… but all are generic. I need to know what paramenter should I change and to what value?

The errors you posted are telling you to increase pm.start_servers, pm.min/max_spare_servers or pm.max_children. You will need to update those parameters accordingly. Please note that we do not provide 1:1 support, if you do not know how to edit the configuration, please find someone in your community who can help you make these changes.

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