I suddently get a 502 Bad gateway error and I don't understand why this error appear. This error appear moreover only for 1 single page!!...
The exact error in my Nginx log is :
Upstream prematurely closed FastCGI stdout while reading response header from upstream [..] upstream: "fastcgi://unix:/var/run/php5-fpm.sock:"
I tried :
- service nginx restart : NOTHING CHANGE
- service php5-fpm restart : NOTHING CHANGE
- to reboot the server : NOTHING CHANGE
- even to restart the mysql service : NOTHING CHANGE
My /var/log/upstart/php5-fpm.log (only a lot of NOTICES) :
Terminating...
exiting, bye-bye!
fpm is running, pid 9887
ready to handle connections
systemd monitor interval set to 10000ms
that makes me crazy, any idea ?