使用GatewayWorker时报错exit with status 11

张志波

2017-04-29 10:42:22 pid:13588 worker exit with status 11
2017-04-29 12:55:20 pid:13588 worker exit with status 11
2017-04-29 13:21:16 pid:13588 worker exit with status 11
2017-04-29 19:33:39 pid:13588 worker exit with status 11
2017-04-29 21:14:24 pid:13588 worker exit with status 11
2017-04-29 21:58:58 pid:13588 worker exit with status 11
2017-04-29 22:49:49 pid:13588 worker exit with status 11
2017-04-29 22:56:20 pid:13588 worker exit with status 11
2017-04-30 00:54:44 pid:13588 worker exit with status 11
2017-04-30 01:42:37 pid:13588 worker exit with status 11
2017-04-30 01:57:17 pid:13588 worker exit with status 11
2017-04-30 02:46:53 pid:13588 worker exit with status 11
2017-04-30 03:06:43 pid:13588 worker exit with status 11
2017-04-30 03:15:09 pid:13588 worker exit with status 11
2017-04-30 03:39:11 pid:13588 worker exit with status 11
2017-04-30 04:27:37 pid:13588 worker exit with status 11
2017-04-30 04:53:41 pid:13588 worker exit with status 11
2017-04-30 05:09:10 pid:13588 worker exit with status 11
2017-04-30 06:04:55 pid:13588 worker exit with status 11
2017-04-30 06:13:05 pid:13588 worker exit with status 11
2017-04-30 06:54:14 pid:13588 worker exit with status 11
2017-04-30 08:25:15 pid:13588 worker exit with status 11
2017-04-30 09:00:00 pid:13588 worker exit with status 11
2017-04-30 11:02:09 pid:13588 worker exit with status 11
2017-04-30 11:25:44 pid:13588 worker exit with status 11
2017-04-30 11:33:46 pid:13588 worker exit with status 11
2017-04-30 11:33:57 pid:13588 worker exit with status 11
2017-04-30 13:33:05 pid:13588 worker exit with status 11
2017-04-30 15:34:02 pid:13588 worker exit with status 11
2017-04-30 17:40:20 pid:13588 worker exit with status 11
2017-04-30 17:48:03 pid:13588 worker exit with status 11
2017-04-30 18:19:23 pid:13588 worker exit with status 11
2017-04-30 19:44:48 pid:13588 worker exit with status 11
2017-04-30 20:31:19 pid:13588 worker exit with status 11
2017-04-30 21:05:14 pid:13588 worker exit with status 11
2017-04-30 22:59:30 pid:13588 worker exit with status 11
2017-04-30 23:34:07 pid:13588 worker exit with status 11
2017-04-30 23:52:27 pid:13588 worker exit with status 11
2017-05-01 00:54:55 pid:13588 worker exit with status 11
2017-05-01 01:22:26 pid:13588 worker exit with status 11
2017-05-01 01:28:19 pid:501 Workerman status
2017-05-01 01:52:46 pid:13588 worker exit with status 11
2017-05-01 02:49:57 pid:13588 worker exit with status 11
2017-05-01 02:57:13 pid:13588 worker exit with status 11
2017-05-01 03:36:33 pid:13588 worker exit with status 11
2017-05-01 03:55:18 pid:13588 worker exit with status 11
2017-05-01 04:33:07 pid:13588 worker exit with status 11
2017-05-01 05:27:14 pid:13588 worker exit with status 11
2017-05-01 05:33:11 pid:13588 worker exit with status 11
2017-05-01 06:11:22 pid:13588 worker exit with status 11
2017-05-01 09:19:44 pid:13588 worker exit with status 11
2017-05-01 09:59:21 pid:13588 worker exit with status 11
2017-05-01 10:23:11 pid:13588 worker exit with status 11
2017-05-01 12:02:25 pid:13588 worker exit with status 11
2017-05-01 13:01:31 pid:13588 worker exit with status 11
2017-05-01 20:30:40 pid:13588 worker exit with status 11
2017-05-01 21:19:47 pid:13588 worker exit with status 11
2017-05-01 21:24:21 pid:13588 worker exit with status 11
2017-05-01 21:49:34 pid:13588 worker exit with status 11
2017-05-01 21:53:28 pid:6086 Workerman restart
2017-05-01 21:53:28 pid:6086 Workerman is stoping ...
2017-05-01 21:53:28 pid:13588 Workerman Stopping ...
2017-05-01 21:53:28 pid:13588 Workerman has been stopped
2017-05-01 21:53:28 pid:6086 Workerman stop success
2017-05-01 21:54:09 pid:6313 Workerman restart
2017-05-01 21:54:09 pid:6313 Workerman is stoping ...
2017-05-01 21:54:09 pid:6105 Workerman Stopping ...
2017-05-01 21:54:09 pid:6105 Workerman has been stopped
2017-05-01 21:54:09 pid:6313 Workerman stop success
2017-05-01 23:36:34 pid:6315 worker exit with status 11
2017-05-01 23:43:25 pid:6315 worker exit with status 11
2017-05-01 23:55:13 pid:6315 worker exit with status 11
2017-05-02 03:47:40 pid:6315 worker exit with status 11
2017-05-02 04:03:35 pid:6315 worker exit with status 11
2017-05-02 05:33:53 pid:6315 worker exit with status 11
2017-05-02 06:01:12 pid:6315 worker exit with status 11
2017-05-02 06:05:50 pid:6315 worker exit with status 11
2017-05-02 06:19:01 pid:6315 worker exit with status 11
2017-05-02 08:10:51 pid:6315 worker exit with status 11

catch捕获不到这个错误,在workerman.log能看到这个错误
不知道这个错误是什么原因导致的?

4238 1 0
1个回答

walkor

exit with status 11 是发生了coredump。
发生coredump原因一般是两个
1、使用了不稳定的扩展,例如在php7下使用libevent扩展(目前libevent扩展还没有稳定的php7版本。php7下请使用event扩展)

2、php的bug,例如使用了最新的未发布的php版本

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