ChatGateway内存超过1G正常吗

jianli

ChatGateway内存超过1G正常吗

----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:3.5.6          PHP version:5.5.99-hiphop
start time:2018-06-07 22:07:28   run 3 days 21 hours
load average: 6.48, 17, 22       event-loop:\Workerman\Events\Select
4 workers       51 processes
worker_name        exit_status      exit_count
ChatBusinessWorker 0                48
ChatGateway        0                0
Register           0                0
WebServer          0                2
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid memory  listening                worker_name        connections send_fail timers  total_request qps    status
7483    1680.8M websocket://0.0.0.0:8272 ChatGateway        28          1         3       60354713      4      
7484    1680.78M websocket://0.0.0.0:8272 ChatGateway        27          1         3       60329959      4      
7485    1681.05M websocket://0.0.0.0:8272 ChatGateway        27          3         3       60431102      4      
。。。。。。。。。。
7528    5.81M   text://0.0.0.0:8236      Register           56          1         0       571319        0      
15000   6.01M   none                     ChatBusinessWorker 29          0         1       89            0      
15001   6.12M   none                     ChatBusinessWorker 29          0         1       89            0      
2188 3 0
3个回答

抽不完的寂寞

这么大肯定不正常了,业务代码内存泄漏了

  • 暂无评论
walkor

嗯,应该是业务代码内存泄漏了。检查下是不是有全局数组,不停的添加元素但是没有删除类似的业务

  • 暂无评论
zhangcabbage

你的内存怎么可以一直往上涨,我的到了几十M就不涨了,再处理大数据业务的时候,直接就变busy了

  • 暂无评论
年代过于久远,无法发表回答
🔝