CentOS/nginx server getting constant but intermittent 502 errors.

March 22, 2014 1.8k views
Hi there, had my server for ages, no problems until today. Now every few minutes all the websites on it go down with 502 errors. Sometimes they come back by themselves, sometimes they come back when i reboot php-fcm and nginx. Ideas? Help? Willing to pay someone at this point to assist.
4 Answers
oops, i meant php-fpm.
If it is ok add me on the skype and I will configure your server
Looks like php-fpm is crashing. Check its error log for more info on why it is crashing:
tail -40 /var/log/php-fpm/error.log
I'm having this exact same issue. Never had any issues and then suddenly my CPU shot up and php-fpm seems to be the reason. Did you get this fixed ever?
Have another answer? Share your knowledge.