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

   **Describe the bug (描述bug)**
   Client received `RPC call failed [E1008]Reached timeout=2000ms 
@10.0.1.142:8002` after handshake with server.
   
   **To Reproduce (复现方法)**
   just run test after compiling with rdma.
   
   **Expected behavior (期望行为)**
   successful test
   
   **Versions (各种版本)**
   OS: CentOS Linux release 8.3.2011
   Compiler: g++ (GCC) 8.5.0
   brpc: master / release 1.4
   protobuf: libprotoc 3.5.0
   
   **Additional context/screenshots (更多上下文/截图)**
   Server:
   ```
   ./server --rdma_device mlx5_bond_0 --rdma_prepared_qp_cnt 16 
--rdma_trace_verbose true
   I0410 13:28:54.574805 3530531 src/brpc/rdma/rdma_helper.cpp:447] RDMA 
device: mlx5_bond_0
   I0410 13:28:54.574857 3530531 src/brpc/rdma/rdma_helper.cpp:449] RDMA LID: 0
   I0410 13:28:54.575050 3530531 src/brpc/rdma/rdma_helper.cpp:454] RDMA GID 
Index: 9
   I0410 13:28:54.575771 3530531 src/brpc/rdma/block_pool.cpp:145] Start extend 
rdma memory 1024MB
   I0410 13:28:54.680685 3530531 src/brpc/server.cpp:1114] 
Server[test::PerfTestServiceImpl] is serving on port=8002.
   I0410 13:28:54.680958 3530531 src/brpc/server.cpp:1117] Check out 
http://test18:8002 in web browser.
   I0410 13:30:59.836478 3530556 src/brpc/rdma/rdma_endpoint.cpp:556] Start 
handshake on Socket{id=113 fd=15 addr=10.0.1.143:55112:8002} (0x0x7f98b001af50)
   I0410 13:30:59.838302 3530559 src/brpc/rdma/rdma_endpoint.cpp:692] Handshake 
ends (use rdma) on Socket{id=113 fd=15 addr=10.0.1.143:55112:8002} 
(0x0x7f98b001af50)
   ```
   Client:
   ```
   ./client --rdma_device mlx5_bond_0 --rdma_prepared_qp_cnt 16 --servers 
10.0.1.142:8002
   I0410 13:30:59.583181 3929292 src/brpc/rdma/rdma_helper.cpp:447] RDMA 
device: mlx5_bond_0
   I0410 13:30:59.583240 3929292 src/brpc/rdma/rdma_helper.cpp:449] RDMA LID: 0
   I0410 13:30:59.583423 3929292 src/brpc/rdma/rdma_helper.cpp:454] RDMA GID 
Index: 11
   I0410 13:30:59.584134 3929292 src/brpc/rdma/block_pool.cpp:145] Start extend 
rdma memory 1024MB
   I0410 13:30:59.702522 3929292 src/brpc/server.cpp:1114] 
Server[DummyServerOf(./client-rdma)] is serving on port=8001.
   I0410 13:30:59.702766 3929292 src/brpc/server.cpp:1117] Check out 
http://test19:8001 in web browser.
   [Threads: 1, Depth: 1, Attachment: 1B, RDMA: yes, Echo: no]
   E0410 13:31:01.703330 3929292 client.cpp:126] RPC call failed: 
[E1008]Reached timeout=2000ms @10.0.1.142:8002
   Segmentation fault
   ```
   
   BTW, rping test runs successfully.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to