So I have two site and a server, one lumen that makes api calls, one laravel for admin.
When I get some traffic, the server crashed 502 gateway timeout.
nginx log, says: 11:19:51 [crit] 880#0: *2 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 126.96.36.199, server: example.com, request: "GET /login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "example.com"
php5-fpm.log says: 23-Nov-2015 11:06:08] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful (After reboot)
MySQL no problems
I have tried a lot but kind seem to find the problem.