1.FastCGl进程是否已经启动
2.FastCGl worker进程数是否不够
3.FastCGI执行时间过长
fastcgi connect timeout 300;
fastcgi send_ timeout 300;
fastcgi_ read. _timeout 300;
4.FastCGl Buffer不够
nginx和apache-样,有前端缓冲限制,可以调整缓冲参数
fastcgi_ buffer. size 32k;
fastcgi_ buffers 8 32k;
5.Proxy Buffer不够
如果你用了Proxying,调整
proxy_ buffer. size 16k;
proxy_ buffers 4 16k;
6.php脚本执行时间过长
将php-fpm.conf的0s的0s改成一个时间