php-fpm lot of childs zombies exiting after huge amount of seconds + 502 errors

Solution 1:

A good starting point is to edit php.ini and add/edit this line from:

; error_log = filename

to

error_log = /var/log/php.errors

be sure the log file is owned by the nginx user.