gatewayworker运行一段时间后出sendAndRecv 异常,导致worker退出 pid:62 Exception: can not connect to tcp://127.0.0.1:39130 Cannot assign requested address in /app/vendor/workerman/gateway-worker/src/Lib/Gateway.php:1143 Stack t...
之前稳定运行了几个月没问题,最近频繁出现这个问题,大概一天会出现两次,没法正常运行了,看日志好像是gateway和businessworker突然连不上,什么原因会导致这样呢 异常信息如下: pid:42 Exception: can not connect to tcp://127.0.0.1:39130 Connection refused in /app/vendor/workerman/gateway-wor...
堆栈只打印到了onMessage方法, 但是我在onMessage里面打印了日志, 发现Gateway::getSession上一行有日志, 下一行就没有日志了, 估计是getSession方法有问题吗 process_timeout: #1 : Events::onMessage('7f0000019894000...', '[{"userId":"803...') #2 /mnt/d/Projects/Game...
Timer::add的时候失败了,日志记录的错误如下,该问题不定时出现,这次运行了一个多月出现了这么一次 pid:24035 Error: Class 'Workerman\Lib\Worker' not found in /home/socket-server/Ningxia/vendor/workerman/workerman/Lib/Timer.php:88 Stack trace: #0 /home/sock...