GatewayWorker运行四五小时后会出现process_timeout问题

workerman.log中的信息
2019-01-04 12:30:15 pid:22312 process_timeout:#1 /usr/MDDeviceService/vendor/workerman/workerman/Events/Select.php(263): pcntl_signal_dispatch()
#2 /usr/MDDeviceService/vendor/workerman/workerman/Worker.php(2096): Workerman\Events\Select->loop()
#3 /usr/MDDeviceService/vendor/workerman/gateway-worker/src/BusinessWorker.php(190): Workerman\Worker->run()
#4 /usr/MDDeviceService/vendor/workerman/workerman/Worker.php(1294): GatewayWorker\BusinessWorker->run()
#5 /usr/MDDeviceService/vendor/workerman/workerman/Worker.php(1127): Workerman\Worker::forkOneWorkerForLinux(Object(GatewayWorker\BusinessWorker))
#6 /usr/MDDeviceService/vendor/workerman/workerman/Worker.php(1100): Workerman\Worker::forkWorkersForLinux()
#7 /usr/MDDeviceService/vendor/workerman/workerman/Worker.php(459): Workerman\Worker::forkWorkers()
#8 /usr/MDDeviceService/start.php(52): Workerman\Worker::runAll()
#9 {main}
已邀请:

walkor

赞同来自:

Events.php的onMessage里的业务代码执行的太慢了,超过了30秒

ncblkj - 90

赞同来自:

可以正常使用,但是运行一段时间1天左右吧,进程自动超期了,不知道怎么回事,可以取消判断或则其它优化方法吗?

要回复问题请先登录注册