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 2021/11/04 06:30:00 UTC

[GitHub] [incubator-brpc] DavidLiuXh opened a new issue #1594: 使用brpc的进程退出时,HealthCheckTask可能导致的core dump

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


   **Describe the bug (描述bug)**
   1. 服务里使用brpc client 连接到了其他的brpc服务;
   2. brpc针对这条连接会作周期性的HealthCheck, 使用HealthCheckTask实现;
   3. 服务进程退出时,有一定的概率出现下面的core dump:
      
   ![1635993773394-image](https://user-images.githubusercontent.com/5432050/140267863-5eaa2818-8495-4248-a67b-591fc7efa175.png)
   
   4. 看起来像是HealCehckTask还有运行,但是glog相关的静态变量由于进程退出已经不存在了。
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS: CentOs 7
   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] lhsoft commented on issue #1594: 使用brpc的进程退出时,HealthCheckTask可能导致的core dump

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


   这个问题我们最近也遇到了,有什么办法解决吗?


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