进程退出的状态码 11和256是代表什么问题。

codeninjia

进程退出的状态码 11和256是代表什么问题。看文档是没有写这两个错误状态代码什么。我这频繁报这个错

2018-06-20 19:58:25 pid:32122 worker exit with status 11
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 11
2018-06-20 19:58:25 pid:32122 worker exit with status 11
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 256
2018-06-20 19:58:25 pid:32122 worker exit with status 256

具体这些状态码是怎么对应的我要在哪去看。

7219 1 0
1个回答

walkor

11 和 256 代表php发生了coredump,
一般是使用了不稳定的扩展导致。
用 php -m 命令列出php cli使用的扩展,
去掉可疑扩展试下。

  • codeninjia 2018-06-21

    谢谢大大。我找下看看。这个我可以使用strace 追踪的话可以看到是在哪coredump吗

  • walkor 2018-06-21

    可以试下,但是不是100%能看到

  • codeninjia 2018-06-21

    @1:主要是这个也不是必现的,如果用strace看不到就只能用gdb看了吧

  • walkor 2018-06-21

年代过于久远,无法发表回答
🔝