好几天了,这几天在论坛和网上一直查资料,502的问题,方法都试了,都不行。服务器配置 8G内存 4核CPU,日访问量几万吧
php-fpm.log
- [16-Oct-2015 10:17:22] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 31 idle, and 36 total children
复制代码
nginx_error.log- 2015/10/16 10:16:01 [crit] 24993#0: *135 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: 183.195.232.24, server: xxx.xxx.com, request: "POST /Sp_base/getArticleLike/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "xxx.xxx.com", referrer: "http://
- xxx.xxx.com
- /h/a_207.html?r=2e86f84fa25da08b948e38416dc06a44&isappinstalled=0&from=timeline"
复制代码
max_spare_servers,都试了,都不管用 mysql的日志也是一天清理一次,也不存在数据太多 反正各种办法都试了,实在不知道该怎么办了,请各位大大和军哥帮忙看看,谢谢!!! |