PHP failed to ptrace(PEEKDATA) pid 13659: Input/output error错误解决方法

PHP failed to ptrace(PEEKDATA) pid 13659: Input/output error错误解决方法

现在改linux内核文件打开限制
<pre>
ulimit -SHn 51200
</pre>


再修改nginx.conf配置文件
<pre>
worker_rlimit_nofile 51200;
</pre>

最后修改PHP-fpm.conf配置文件
<pre>
rlimit_files = 51200
</pre>

这3个一定要设置一样哦

2个必须保持一致就可以了

原文地址:https://www.cnblogs.com/newmiracle/p/11856368.html