CPU被打满

0

2021-09-19 00:32:11 pid:10706 exception 'Exception' with message 'can not connect to tcp://127.0.0.1:2902 Connection refused' in /usr/local/www/930bar_ws/vendor/workerman/gateway-worker/src/Lib/Gateway.php:1143
Stack trace:


0 /usr/local/www/930bar_ws/vendor/workerman/gateway-worker/src/Lib/Gateway.php(1092): GatewayWorker\Lib\Gateway::sendAndRecv('127.0.0.1:2902', Array)


1 /usr/local/www/930bar_ws/Applications/YourApp/Events.php(76): GatewayWorker\Lib\Gateway::getSession('7f0000010b56000...')


2 [internal function]: Events::onMessage('7f0000010b56000...', '{"message":{"me...')


3 /usr/local/www/930bar_ws/vendor/workerman/gateway-worker/src/BusinessWorker.php(404): call_user_func('Events::onMessa...', '7f0000010b56000...', '{"message":{"me...')


4 [internal function]: GatewayWorker\BusinessWorker->onGatewayMessage(Object(Workerman\Connection\AsyncTcpConnection), Array)


5 /usr/local/www/930bar_ws/vendor/workerman/workerman/Connection/TcpConnection.php(660): call_user_func(Array, Object(Workerman\Connection\AsyncTcpConnection), Array)


6 [internal function]: Workerman\Connection\TcpConnection->baseRead(Resource id #48, 2, Resource id #48)


7 /usr/local/www/930bar_ws/vendor/workerman/workerman/Events/Event.php(195): EventBase->loop()


8 /usr/local/www/930bar_ws/vendor/workerman/workerman/Worker.php(2408): Workerman\Events\Event->loop()


9 /usr/local/www/930bar_ws/vendor/workerman/gateway-worker/src/BusinessWorker.php(197): Workerman\Worker->run()


10 /usr/local/www/930bar_ws/vendor/workerman/workerman/Worker.php(1541): GatewayWorker\BusinessWorker->run()


11 /usr/local/www/930bar_ws/vendor/workerman/workerman/Worker.php(1371): Workerman\Worker::forkOneWorkerForLinux(Object(GatewayWorker\BusinessWorker))


12 /usr/local/www/930bar_ws/vendor/workerman/workerman/Worker.php(1345): Workerman\Worker::forkWorkersForLinux()


13 /usr/local/www/930bar_ws/vendor/workerman/workerman/Worker.php(546): Workerman\Worker::forkWorkers()


14 /usr/local/www/930bar_ws/start.php(37): Workerman\Worker::runAll()


15 {main}


一开始报内存溢出 修改后又报这个错误 请问是什么原因

已邀请:

要回复问题请先登录注册