502 Bad Gateway

解决过程:第一次遇到修改 php  问题解决 memory_limit

后面再次遇到502 报错:编辑 /etc/security/limits.conf

加入:

* soft noproc 11000
* hard noproc 11000
* soft nofile 32768
* hard nofile 65535

然后重启服务器 问题依旧会出现,继续排查

原来是我后台执行命令 php -v 就会把php-fpm全干了,果断把xcache 卸载了

发表评论

电子邮件地址不会被公开。 必填项已用*标注