You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@brpc.apache.org by "hscos (via GitHub)" <gi...@apache.org> on 2026/08/12 02:55:43 UTC
Re: [I] 两次fork,第二次fork得父进程不退出 (brpc)
hscos commented on issue #3188:
URL: https://github.com/apache/brpc/issues/3188#issuecomment-5261647340
我之前也遇到过,因为 bvar 用了 pthread_atfork,最后把 bvar 的一些 static sampler lazy 初始化了,可以参考
https://github.com/intelligent-machine-learning/dlrover/blob/master/xpu_timer/third_party/brpc/brpc.patch#L58
--
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: issues-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org