Keywords: WordPress - Amazon Web Services - Technical issue - Other
I have activated the following to
error_log = /opt/bitnami/php/var/log/php-fpm.log (can be find but no logs about errors)
What i did is:
log_level = debug
php_flag[display_errors] = on
php_admin_value[error_log] = /opt/bitnami/php/var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
However there is no /opt/bitnami/php/var/log/fpm-php.www.log
generated . Restarted php-fpm.
The problem is i face some randomly timeout issues where pages of my wordpress install suddenly starts hanging ending in some 503 time out.
I can´t find out whats the reason for it, maybe some plugin or what ever but there is nothing to see from the regular apache error log or mentioned php-fpm.log.
Also the PHP-FPM needs to be restarted manually before the website is available again.
Is this normal? How to debug something like this to find the real source of evil and why does php-fpm even not recovering by it self. Not able to detect something not working/hanging?