dever %!s(int64=4) %!d(string=hai) anos
pai
achega
2eb51bc5b0

+ 1 - 1
app/dever/start_businessworker.php

@@ -27,7 +27,7 @@ $worker->name = 'DeverImBusinessWorker';
 // bussinessWorker进程数量
 $worker->count = DEVER_IM_WORKER;
 // 服务注册地址
-$worker->registerAddress = DEVER_IM_IP . ':' . DEVER_IM_IN_PORT;
+$worker->registerAddress = '0.0.0.0:' . DEVER_IM_IN_PORT;
 
 // 如果不是在根目录启动,则运行runAll方法
 if(!defined('GLOBAL_START'))

+ 1 - 1
app/dever/start_gateway.php

@@ -32,7 +32,7 @@ $gateway->lanIp = DEVER_IM_IP;
 // 则一般会使用4000 4001 4002 4003 4个端口作为内部通讯端口 
 $gateway->startPort = DEVER_IM_GATEWAY_PORT;
 // 服务注册地址
-$gateway->registerAddress = DEVER_IM_IP . ':' . DEVER_IM_IN_PORT;
+$gateway->registerAddress = '0.0.0.0:' . DEVER_IM_IN_PORT;
 
 // 心跳间隔
 $gateway->pingInterval = 10;

+ 1 - 1
app/dever/start_register.php

@@ -18,7 +18,7 @@ use \GatewayWorker\Register;
 require_once __DIR__ . '/../../vendor/autoload.php';
 
 // register 必须是text协议
-$register = new Register('text://' . DEVER_IM_IP . ':' . DEVER_IM_IN_PORT);
+$register = new Register('text://0.0.0.0:1238');
 
 // 如果不是在根目录启动,则运行runAll方法
 if(!defined('GLOBAL_START'))

+ 56 - 0
vendor/workerman/workerman.log

@@ -64,3 +64,59 @@
 2020-08-27 08:52:14 pid:8955 Workerman[start.php] start in DEBUG mode
 2020-08-28 02:00:04 pid:8955 Workerman[start.php] stopping ...
 2020-08-28 02:00:04 pid:8955 Workerman[start.php] has been stopped
+2020-12-21 06:09:38 pid:31869 Workerman[start.php] stop 
+2020-12-21 06:09:38 pid:31869 Workerman[start.php] not run
+2020-12-21 06:09:40 pid:31870 Workerman[start.php] stop 
+2020-12-21 06:09:40 pid:31870 Workerman[start.php] not run
+2020-12-21 06:09:49 pid:31909 Workerman[start.php] start in DEBUG mode
+2020-12-21 06:09:49 pid:31909 worker[Register:31922] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31923] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31924] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31925] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31926] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31927] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31928] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31929] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31930] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31931] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31932] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31933] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31934] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31935] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31936] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31937] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31938] exit with status 65280
+2020-12-21 06:09:49 pid:31909 worker[Register:31939] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31940] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31941] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31942] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31943] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31944] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31945] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31946] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31947] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31948] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31949] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31950] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31951] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31952] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31953] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31954] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31955] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31956] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31957] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31958] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31959] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31960] exit with status 65280
+2020-12-21 06:09:50 pid:31909 worker[Register:31961] exit with status 65280
+2020-12-21 06:09:50 pid:31918 Worker[31918] process terminated
+2020-12-21 06:09:50 pid:31920 Worker[31920] process terminated
+2020-12-21 06:09:50 pid:31919 Worker[31919] process terminated
+2020-12-21 06:09:50 pid:31921 Worker[31921] process terminated
+2020-12-21 06:09:50 pid:31909 Workerman[start.php] stopping ...
+2020-12-21 06:09:50 pid:31909 worker[DeverImGateway:31918] exit with status 64000
+2020-12-21 06:09:50 pid:31909 worker[DeverImGateway:31919] exit with status 64000
+2020-12-21 06:09:50 pid:31909 worker[DeverImGateway:31920] exit with status 64000
+2020-12-21 06:09:50 pid:31909 worker[DeverImGateway:31921] exit with status 64000
+2020-12-21 06:09:50 pid:31909 worker[Register:31962] exit with status 65280
+2020-12-21 06:09:50 pid:31909 Workerman[start.php] has been stopped