1
sparanoid Apr 2, 2011
看下 nginx 的 error log
|
3
sparanoid Apr 2, 2011
没有定期 logrotate 的结果
|
4
fanzeyi OP 给 access.log && error.log 换成空文件了。。。。 这服务器居然从去年7月到现在都没备份过 log .....无语中 等日志好了
|
5
aligo Apr 2, 2011
请使用
tail -n xxxx nginx.log 查阅日志最后xxxx行 另外php5.3.3还是4开始官方内置php-fpm,可以换掉那个php-fastcgi什么的了,比较稳定 |
7
qichangxing Apr 4, 2011
如果在运行正常的情况下,502错误通常是由于内存使用超限所造成的。
|
8
fanzeyi OP @qichangxing
$ free -m total used free shared buffers cached Mem: 497 458 39 0 73 187 -/+ buffers/cache: 197 300 Swap: 255 15 240 应该不是内存超限吧...... |
9
TheOnly92 Apr 4, 2011
如果 child 太少或者全死完会给 502 吧。
|