rpbear88 commented on issue #1446:
URL: https://github.com/apache/incubator-brpc/issues/1446#issuecomment-866769000


   后来我们发现,因为开启RDMA之后,IOBuf进行内存分配的全局函数被修改为block 
pool的相关函数了,这导致只要是使用IOBuf的逻辑都会使用该内存池。
   
   而我们业务使用的braft的log 
storage是选择的内存类型,所以这些log实际上都在内存里占用了IOBuf一直未释放,后来我们加上了定期snapshot就解决了这个问题。
   
   
ps:期间还出现了阶段性地重新选举的现象,经分析应该是我们在RDMA线程(开启了polling+inplace)分配过大的内存(10GB)时导致整个线程不能响应其他raft心跳等操作,导致leader失效了。


-- 
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