偶尔会报这个错误,系统故障,重启或者过一段时间就好了,请问是什么原因
跟redis服务、连接数有关系么?
PHP 5.4.45 (cli) (built: Oct 16 2015 11:24:58)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
2016-04-18 11:23:31 Workerman status
2016-04-18 11:37:04 Workerman reload
2016-04-18 11:37:04 Workerman reload
2016-04-18 11:37:04 Workerman reloading
2016-04-18 11:37:05 worker exit with status 9
2016-04-18 11:37:06 worker exit with status 9
2016-04-18 11:37:07 worker exit with status 9
2016-04-18 11:37:08 worker exit with status 9
2016-04-18 11:37:09 worker exit with status 9
2016-04-18 11:40:53 Workerman stop
2016-04-18 11:40:53 Workerman is stoping ...
2016-04-18 11:40:53 Workerman Stopping ...
2016-04-18 11:40:53 Workerman has been stopped
2016-04-18 11:40:53 Workerman stop success
2016-04-18 11:40:59 Workerman start in DAEMON mode
2016-04-18 11:44:11 Workerman reload
reloading 过程有出现 exit with status 9 说明业务代码有长时间阻塞的情况。
也就是说业务代码卡住了,一般是由于慢sql或者curl超时没控制好导致的。
可以配合strace lsof 两个命令查看代码卡在哪里,两个命令的用法可以去网上看下文章
谢谢,我再查查代码逻辑,最新版对redis pconnect 的支持怎么样?
二者没有支持关系哈。