V1.2.0多商户版本出现服务器无响应,重启swoole服务后恢复正常 swoole_restar_err.log错误文件如下:
[think\exception\ErrorException]
Swoole\Process::kill(): swKill(15977, 15) failed, Error: No such process[3]
PHP Fatal error: Uncaught RedisException: Connection lost in /www/app/webscoket/Ping.php:89
Stack trace:
#0 /www/app/webscoket/Ping.php(89): Redis->get('ws.p.646')
#1 /www/app/webscoket/SwooleWorkerStart.php(77): app\webscoket\Ping->getLastTime(646)
#2 {main}
thrown in /www/app/webscoket/Ping.php on line 89
[think\exception\ErrorException]
Uncaught RedisException: Connection lost in /www/app/webscoket/Ping.php:89
Stack trace:
#0 /www/app/webscoket/Ping.php(89): Redis->get('ws.p.646')
#1 /www/app/webscoket/SwooleWorkerStart.php(77): app\webscoket\Ping->getLastTime(646)
#2 {main}
thrown
PHP Fatal error: Uncaught Error: Call to a member function make() on null in /www/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php:25
Stack trace:
#0 /www/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php(50): think\swoole\Manager->getPools()
#1 /www/vendor/topthink/framework/src/think/Container.php(292): think\swoole\Manager->think\swoole\concerns\{closure}()
#2 /www/vendor/topthink/framework/src/think/Container.php(356): think\Container->invokeFunction(Object(Closure), Array)
#3 /www/vendor/topthink/framework/src/think/Event.php(260): think\Container->invoke(Object(Closure), Array)
#4 /www/vendor/topthink/framework/src/think/Event.php(221): think\Event->dispatch(Object(Closure), Array)
#5 /www/vendor/topthink/think-swoole/src/concerns/WithApplication.php(45): think\Event->trigger('swoole.workerEr...', Array)
#6 /www/vendor/topthink/think-swoole/src/concerns/InteractsW in /www/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php on line 25
[think\exception\ErrorException]
Uncaught Error: Call to a member function make() on null in /www/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php:25
Stack trace:
#0 /www/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php(50): think\swoole\Manager->getPools()
#1 /www/vendor/topthink/framework/src/think/Container.php(292): think\swoole\Manager->think\swoole\concerns\{closure}()
#2 /www/vendor/topthink/framework/src/think/Container.php(356): think\Container->invokeFunction(Object(Closure), Array)
#3 /www/vendor/topthink/framework/src/think/Event.php(260): think\Container->invoke(Object(Closure), Array)
#4 /www/vendor/topthink/framework/src/think/Event.php(221): think\Event->dispatch(Object(Closure), Array)
#5 /www/vendor/topthink/think-swoole/src/concerns/WithApplication.php(45): think\Event->trigger('swoole.workerEr...', Array)
#6 /www/vendor/topthink/think-swoole/src/concerns/InteractsW
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}