CentOS/nginx server getting constant but intermittent 502 errors.

Posted March 22, 2014 4.1k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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?