GatewayWorker中globaldata经常报Connection refused

smartrui

使用GlobalData经常报Connection refused,重启一下又能正常一下,但是过不了多久又会出现这个问题。
而且,不 知道怎么回事,即使我重启后,在频繁的调用Events.php下在的onClose回调

Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:2207 (Connection refused) in /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/globaldata/src/Client.php on line 66
Exception: Connection refused in /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/globaldata/src/Client.php:69
Stack trace:
#0 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/globaldata/src/Client.php(138): GlobalData\Client->getConnection('uidSimpleList')
#1 /data/scripts/kefu/zhicloud_tasks_service_online/application/zcwebchat/Events.php(349): GlobalData\Client->__get('uidSimpleList')
#2 [internal function]: Events::onClose('7f0000010fa0000...')
#3 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/gateway-worker/src/BusinessWorker.php(410): call_user_func('Events::onClose', '7f0000010fa0000...')
#4 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Connection/TcpConnection.php(660): GatewayWorker\BusinessWorker->onGatewayMessage(Object(Workerman\Connection\AsyncTcpConnection), Array)
#5 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Events/Select.php(293): Workerman\Connection\TcpConnection->baseRead(Resource id #54)
#6 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Worker.php(2408): Workerman\Events\Select->loop()
#7 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/gateway-worker/src/BusinessWorker.php(197): Workerman\Worker->run()
#8 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Worker.php(1541): GatewayWorker\BusinessWorker->run()
#9 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Worker.php(1371): Workerman\Worker::forkOneWorkerForLinux(Object(GatewayWorker\BusinessWorker))
#10 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Worker.php(1345): Workerman\Worker::forkWorkersForLinux()
#11 /data/scripts/kefu/zhicloud_tasks_service_online/vendor/workerman/workerman/Worker.php(546): Workerman\Worker::forkWorkers()
#12 /data/scripts/kefu/zhicloud_tasks_service_online/start.php(19): Workerman\Worker::runAll()
#13 {main}
Worker[88391] process terminated
worker[ZYWebChatBusinessWorker:88391] exit with status 64000
我要退出来了;7f0000010fa100000001
我要退出来了;7f0000010fa000000003
我要退出来了;7f0000010fa000000004
我要退出来了;7f0000010fa000000005
我要退出来了;7f0000010fa200000001
我要退出来了;7f0000010fa300000005
我要退出来了;7f0000010fa200000002
我要退出来了;7f0000010fa200000003
我要退出来了;7f0000010fa100000002
我要退出来了;7f0000010fa200000004
我要退出来了;7f0000010fa100000003
我要退出来了;7f0000010fa300000006
我要退出来了;7f0000010fa200000005
我要退出来了;7f0000010fa100000004
我要退出来了;7f0000010fa000000006
我要退出来了;7f0000010fa100000005
我要退出来了;7f0000010fa100000006
我要退出来了;7f0000010fa100000007
我要退出来了;7f0000010fa300000007
我要退出来了;7f0000010fa200000006
我要退出来了;7f0000010fa300000008
我要退出来了;7f0000010fa100000008
我要退出来了;7f0000010fa000000007
我要退出来了;7f0000010fa100000009
我要退出来了;7f0000010fa300000009
我要退出来了;7f0000010fa10000000a
我要退出来了;7f0000010fa000000008
我要退出来了;7f0000010fa10000000b
我要退出来了;7f0000010fa30000000a
我要退出来了;7f0000010fa10000000c
我要退出来了;7f0000010fa10000000d
我要退出来了;7f0000010fa30000000b
我要退出来了;7f0000010fa30000000c
我要退出来了;7f0000010fa30000000d
我要退出来了;7f0000010fa000000009
我要退出来了;7f0000010fa200000007
我要退出来了;7f0000010fa00000000a
我要退出来了;7f0000010fa200000008
我要退出来了;7f0000010fa200000009
我要退出来了;7f0000010fa00000000b
我要退出来了;7f0000010fa00000000c
我要退出来了;7f0000010fa30000000e
我要退出来了;7f0000010fa30000000f
我要退出来了;7f0000010fa10000000e
我要退出来了;7f0000010fa10000000f
我要退出来了;7f0000010fa100000010
我要退出来了;7f0000010fa300000010
我要退出来了;7f0000010fa100000011
3016 2 0
2个回答

walkor 打赏

出现这个问题后运行 php start.php status 截图下。
出现这个问题后截图,没出现不需要截图。

  • 暂无评论
smartrui

截图

  • walkor 2020-08-20

    出现这个问题后截图。没出现截图没有用

  • smartrui 2020-08-20

    嗯,这个就是一直回调onClose时的状态,现在一直在调onClose

  • 小贼 2020-08-27

    同问,我也出现这个问题了

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