Gateway Worker进程内存不断上涨

使用的GatewayWorker框架, 目前碰到的情况是BusinessWorker进程跑一段时间后,内存一直在上涨,得定期重启BusinessWorker进程, 客户端使用WebSocket长连接,目前客户端在2500左右,基本上7 x 24时在线(硬件), Worker进程情况如图1:   Events没有复杂的逻辑,基本上只是在维持心跳: class Events { public static fu...

JoeZing 发表与 2019-08-28 3069 浏览 5 回答
读写文件发生错误:Too many open files,如何解决?

ubuntu系统 Warning: file_put_contents(/xxxx/log//17-03-22.txt): failed to open stream: Too many open files in /xxx/common/function.php on line 323 这是方法是写日志,用的是file_put_contents方法,按理说写完日志就关掉了文件连接了,而我的work就看了3个进程,就...

EricWen 发表与 2017-03-22 7461 浏览 2 回答
多个Application的情况下,如何关闭或重启其中某一个App

/Applications /Applications/App1/start_app.php /Applications/App2/start_app.php ... 启动和关闭的操作都在根目录下的start.php,如何细化到每个App?...

JoeZing 发表与 2017-01-09 2731 浏览 2 回答
为什么Gateway会主动关闭客户端?

这是我的配置: 'count' => 10, //进程数 'startPort' => 2800, //开始端口 'pingInterval' => 60, //心跳包间隔时间 'pingNotResponseLimit' => 3, 'pingData' => '{"action":"ping"...

JoeZing 发表与 2017-01-05 5726 浏览 7 回答

JoeZing

1697
积分
0
获赞数
0
粉丝数
2016-07-12 加入
🔝