Keywords: WordPress - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)
bndiagnostic ID: ea7f114c-dbf6-3c96-79b2-c8cf382a85c3
? Apache: Found possible issues ? Mariadb: Found possible issues ? Wordpress: Found possible issues ? Resources: 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: I have tried
We have an issue with our instance becoming unavailable on an almost daily basis. Restarting all services resumes normal operation, but only until the following day.
I have read through the Apache error log, PHP-FPM error log and the MariaDB error log there seem to be a couple of items flagging up.
Firstly, we were reaching max_children on FPM. I had increased this in the .conf file, but this had no effect. I have just learned (by delving into the filesystem manually) that there is another file, memory.conf, which seemed to be overriding my custom parameters. I have updated the settings in here to see if that helps us at all.
MariaDB is complaining that it is running out of disk space. This was true — we had the website configured with All-in-One WP Migration to back up to Google drive as well as the nightly snapshot. This was exhausting our total disk so has since been disabled.
Memory was close to being exhausted too, so I have created a swap to help alleviate some of the pressure on the memory. The diagnostics tool still reports that we are low on memory though.
We are looking for suggestions of where to look, or what we can change to improve our uptime on this instance. For clarity, we have a few Lightsail instances running and this is the only one that we are having downtime issues with.