rpbear88 opened a new issue #1446:
URL: https://github.com/apache/incubator-brpc/issues/1446


   和大家分享一个我们观察到的内存上涨的问题(目前已经解决)。我们在开启RDMA功能后,进程的内存会一直上涨,过一段时间后就会出现如下的日志信息:
   
   
![image](https://user-images.githubusercontent.com/61613299/123090930-51895800-d45b-11eb-8a9d-7e38cf88b87d.png)
   
   看了下代码加测试,发现是因为RDMA实现中使用的block pool的region个数达到上限(4个)了,这说明这个block 
pool可能存在内存泄漏。反复走读了代码没有发现问题,从socket中收取数据时会从block 
pool获取内存空间,在controller释放时会回收空间放回block pool,看起来没有问题。
   
   所以内存是怎么泄露的呢?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to