? Apache: Found possible issues
? Mariadb: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-mariadb/
bndiagnostic failure reason: Other
Description:
We have opened many tickets for this issue with no clear clarifications of what happened exactly inside the bitnami lamp server, we are hosting a WordPress website in bitnami (LAMP (PHP 7) Certified by Bitnami 7.4.28-14) in Amazon cloud, the website keeps getting down and when we try to telnet the apache server using (sudo telnet localhost 80) command it returns error (connection timeout).
also once this happens we are unable to access the server from the terminal or FileZilla or any other apps and it is totally hang-out.
every time we need to restore a snapshot of the server and delete the original server.
I have attached the bitnami-tool ID which should contain all the needed information, can you please advise about this critical issue plz as my website is a woocomerce one and can not keep performing this way.
First of all, you have a huge amount of errors in the Apache’s log related to permissions, please ensure you fix them before trying to solve the performance issues. These permissions errors are probably consuming RAM memory
[Wed Mar 30 05:14:53.191798 2022] [proxy_fcgi:error] [pid 12612:tid 140380580972288] [client 172.26.36.103:14058] AH01071: Got error 'arning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/ includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/ htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/ bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173'
[Wed Mar 30 05:14:55.045421 2022] [proxy_fcgi:error] [pid 9988:tid 140380091524864] [client 172.26.36.103:14070] AH01071: Got error 'PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/ htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/ bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 173PHP message: PHP Warning: chmod(): Operation not permitted in /opt/bitnami/apache/htdocs/wp-admin/includes/class-wp-filesystem- direct.php on line 173PHP message: PHP Warning: chmod()
You can check this guide to reset the WordPress permissions but please note you are using a custom path
Second, PHP is reaching the limits and that’s why Apache can’t connect to PHP-FPM from time to time
❯ cat php/logs/php-fpm.log
[30-Mar-2022 05:19: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
[30-Mar-2022 05:19:10] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 38 idle, and 55 total children
[30-Mar-2022 05:19:12] 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 57 total children
[30-Mar-2022 05:19:13] 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 59 total children
[30-Mar-2022 05:19:14] WARNING: [pool www] server reached pm.max_children setting (60), consider raising it
[30-Mar-2022 05:28:34] WARNING: [pool www] child 1851 exited with code 1 after 561.718774 seconds from start
You can increase the number of children in the /opt/bitnami/php/etc/memory.conf but it’ll be great if you check the bots/attackers guide or install a security plugin like Wordfence
Finally, you can also try to increase the memory_limit (/opt/bitnami/php/etc/php.ini) parameter to avoid the PHP processes to run out of memory. Those connection errors with the database may be related to that but you can always ask WordPress to know how to troubleshoot it
I told you to review the permissions (your commands seem correct), review the PHP-FPM configuration and contact WordPress if you continue running into the same issue.
I was also hosted my website at WordPress but the website was getting slow day by day. I don’t know why this was happening with me. Maybe, I was uploading pictures that’s why this was happening, I’m not sure yet. After that, with the help of Bitnami, I hosted my website on a new platform which is quite fast.
@jota , I know, but you told me that there are ahuge amount of errors in the Apache’s log related to permissions, so how can I fixed that please?? this is my point… what is the correct permission and what are the commands to do reset them?
@jota also there is a plugin called “woocommerce pdf and invoicing” it was working fine, but once I moved the website to the latest bitnami LAMP version (appache 2.4.53) in AWS the settings for the plugin inside the admin dashbored is not showing
I told you how to do it. You need to follow this other post
Do not know how you migrated the app. You can contact the plugin’s developer to know more about this. In the post I shared above, there is also a link to remove the symlink to wp-content in the installation, that may be the issue of this plugin.
Those commands are correct in case you have the application in the htdocs directory (as it seems you have). If you continue running into issues, please review the info I posted above
yes my root directory is htdocs as I am using bitnami LAMP server, my question is why I got those permission errors in apache log file if my permission is correct??
Do not know what the app is doing so you will need to investigate and debug it. You can contact the WordPress’ support team or the developers of the plugin you are using (if any) to know what’s wrong with the installation.