ike47 opened a new issue, #2502:
URL: https://github.com/apache/brpc/issues/2502

   **Describe the bug (描述bug)**
   http brpc server端接收后创建client发送数据,内存泄露
   
   **To Reproduce (复现方法)**
   基于Release1.7.0 brpc代码修改brpc http_c++示例代码;
   1、在收到客户端访问v1/queue/stats 后开辟线程做一次brpc send(v1/start)
   
![image](https://github.com/apache/brpc/assets/156296108/20d4462d-a120-4243-8943-f6c3153039aa)
   2、客户端每执行一次,server进程都有20KB左右物理内存增加
   ./http_client http://kkuser-virtual-machine:8010/v1/queue/stats 
   
![image](https://github.com/apache/brpc/assets/156296108/af0c4441-3205-45e1-bcf5-639ab6b2fae8)
   
   **Expected behavior (期望行为)**
   内存不会持续增加
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc: V1.7.0
   protobuf:3.14.0
   
   **Additional context/screenshots (更多上下文/截图)**
   
![image](https://github.com/apache/brpc/assets/156296108/da8bb6fb-536d-4b7c-85f7-d2af8defd974)
   
   
   


-- 
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-unsubscr...@brpc.apache.org.apache.org

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


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

Reply via email to