Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.