多商户版已经正常运行2个月了,最近经常一直出现”swoole频繁卡死 访问页面502或504错误“的问题。
访问不了的时候,需要swoole进程才能恢复。
-------------------------------------------------------------------------------------
之前是1.2版,按照 帖子 里给的办法更新Basic文件夹和crmeb.php 和 帖子 里 修改 'mode' => SWOOLE_BASE 的办法,都不行。
-------------------------------------------------------------------------------------
然后连 swoole 进程也启动不了了,启动错误日志:
PHP Fatal error: Cannot redeclare crmeb\basic\getTopHost() (previously declared in /www/wwwroot/mer/crmeb/basic/BaseAuth.php:282) in /www/wwwroot/mer/crmeb/basic/BaseAuth.php on line 282
-------------------------------------------------------------------------------------
然后更新到1.3版,更新之后正常运行了两天,然后又不行了,swoole 错误日志:
[think\exception\ErrorException] Uncaught Error: Call to a member function make() on null in /www/wwwroot/mer/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php:25 Stack trace: #0 /www/wwwroot/mer/vendor/topthink/think-swoole/src/concerns/InteractsWithPools.php(50): think\swoole\Manager->getPools() #1 /www/wwwroot/mer/vendor/topthink/framework/src/think/Container.php(292): think\swoole\Manager->think\swoole\concerns\{closure}() #2 /www/wwwroot/mer/vendor/topthink/framework/src/think/Container.php(356): think\Container->invokeFunction(Object(Closure), Array) #3 /www/wwwroot/mer/vendor/topthink/framework/src/think/Event.php(260): think\Container->invoke(Object(Closure), Array) #4 /www/wwwroot/mer/vendor/topthink/framework/src/think/Event.php(221): think\Event->dispatch(Object(Closure), Array) #5 /www/wwwroot/mer/vendor/topthink/think-swoole/src/concerns/WithApplication.php(45): think\Event->trigger('swoole.workerEr...', Array) #6 /www/wwwroot/mer/vendor/topthink/think-swoole/src/concerns/InteractsWithServer.php(143): think\swoole PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mer/vendor/lizhichao/word/Lib/VicWord.php on line 44PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/wwwroot/mer/vendor/topthink/framework/src/think/initializer/Error.php on line 87
求教这怎么弄。。在线等,挺急的。。
{{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}}