brpc icon indicating copy to clipboard operation
brpc copied to clipboard

使用RDMA, Fail to ibv_fork_init: Operation now in progress

Open HuangDunD opened this issue 1 year ago • 1 comments

我同时使用了rdma的rlib库和brpc rdma,在brpc服务开始之前通过rlib注册了一部分内存用于可以RDMA单边访问的操作。但是在rdma brpc服务启动时,却报如下问题。尽管他们使用了不同的端口。 E0311 14:09:18.770096 99811 /home/hcy/ford/thirdparty/brpc/src/brpc/rdma/rdma_helper.cpp:457] Fail to ibv_fork_init: Operation now in progress

HuangDunD avatar Mar 11 '24 06:03 HuangDunD

@Tuvie 有时间可以看下这个问题,我感觉是代码中多次调用了ibv_fork_init这个方法吧,而不同的端口并不能够屏蔽这种冲突。

Huixxi avatar Mar 24 '24 11:03 Huixxi