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

I’m facing the following problem on my nginx/php-fpm server : I get random 502 (bad gateway) errors on AJAX calls (autocompletion actually). Everything else is working fine, except autocompletion.

On my php-fpm.log, I got a huge amount of process dying (signal 11) after like 18 hours or so… This doesn’t look correct right?

What can make this happen? I already tweaked pm.max_request, max execution time… And I’m having a dynamic php-fpm pool.

Server Fault Asked on November 18, 2021

1 Answers

One Answer

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

; error_log = filename


error_log = /var/log/php.errors

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

Answered by 111110100 on November 18, 2021

Add your own answers!

Related Questions

Systemd unit not found on start but exists on status

0  Asked on November 29, 2020 by texhik


how to avoid logging to /var/log/syslog for a given application?

0  Asked on November 27, 2020 by downtheroad


Google App Engine 500 internal server error

1  Asked on November 27, 2020 by elyass-attachi


Any way to migrate AWS T3 x64 to T4G ARM?

1  Asked on November 27, 2020 by ruben-john


how to use the pool connection correctly?

0  Asked on November 25, 2020 by lucas-muoz


azure networking, azure mover failed

0  Asked on November 25, 2020 by frdric-guigui


Servicing ws:// in Node.js via Tomcat and Apache

1  Asked on November 23, 2020 by ken-y-n


change URI for tfs project

0  Asked on November 23, 2020 by akrem


Ask a Question

Get help from others!

© 2021 All rights reserved.