Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 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.

share|improve this answer

Your Answer

 
discard

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.