突然间就502,nginx log 出现 connect() failed (111: Connection refused) while connecting to upstreamclient: 123.xx.xx.xxx, server:
xxx.com, request: "GET ...... HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.xxx.com"
将/etc/php5/fpm/pool.d/www.conf里的listen = /var/run/php5-fpm.sock改为 listen =127.0.0.1:9000;
/etc/nginx/sites-available/xxx 改:fastcgi_pass unix:/var/run/php5-fpm.sock;为fastcgi_pass 127.0.0.1:9000; 不能解决;
修改/etc/php5/fpm/pool.d/www.conf里的listen.mode = 0666为默认值 0660 不能解决;调大pm.max_children 值也不能解决;
这是出了什么状况呢? 哪位大神知道问题出在哪里么?
谢谢!