You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/02/22 04:05:38 UTC

[GitHub] [incubator-brpc] zhangzhiming865 opened a new issue #1699: RDMA分支里面的block_pool.cc的thread_atexit会造成内存泄漏

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


   **Describe the bug (描述bug)**
   RDMA分支里面的block_pool.cc的thread_atexit可能与其他的thread_atexit对tls_idle_list链表操作造成内存泄漏
   **To Reproduce (复现方法)**
   创建pthread,申请block_pool里面的内存,并注册atexit释放内存,然后退出pthread,反复执行多次。
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


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

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] zhangzhiming865 commented on issue #1699: RDMA分支里面的block_pool.cc的thread_atexit会造成内存泄漏

Posted by GitBox <gi...@apache.org>.
zhangzhiming865 commented on issue #1699:
URL: https://github.com/apache/incubator-brpc/issues/1699#issuecomment-1047438738


   rdma_memory_pool_tls_cache_num 设置成0也会触发内存泄漏。


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

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org