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 2020/03/19 04:04:09 UTC

[GitHub] [incubator-brpc] zyearn commented on issue #1066: metrics fork出的子进程夯住

zyearn commented on issue #1066: metrics fork出的子进程夯住
URL: https://github.com/apache/incubator-brpc/issues/1066#issuecomment-600977136
 
 
   原因:在fork中会调之前由pthread_atfork注册的fork_handler,如果在fork_handler还调了pthread_atfork,由于2.28之后的fork会和pthread_atfork抢一把锁,于是发生死锁。
   FIX:https://github.com/apache/incubator-brpc/commit/2f8fc37d52c2a02ee6f348aaa52c7ded4a4844c3

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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