yufeixu-sohu opened a new issue, #2912:
URL: https://github.com/apache/brpc/issues/2912

   **Describe the bug (描述bug)**
   在usercode_in_pthread模式下,并发http请求过多时,服务会卡死(死锁?),并且关闭请求后,也无法恢复
   
   
![Image](https://github.com/user-attachments/assets/9a0a85c6-86f9-4deb-a08e-a9845cc7a410)
   
   **To Reproduce (复现方法)**
   brpc::ServerOptions options;
   options.num_threads = 2;
   每次并发10个http请求,导致服务直接卡死,CPU使用率几乎降低到0,应该就是死锁了。
   即使现在请求关闭,服务再也无法恢复。
   
   **Expected behavior (期望行为)**
   关闭请求后,服务应该恢复,新的请求能够进来并处理。
   
   **Versions (各种版本)**
   OS:  Linux version 4.4.70-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc 
version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Fri May 26 07:43:23 
EDT 2017
   Compiler: gcc4.8.5
   brpc: apache-brpc-1.5.0
   protobuf:3.0
   
   **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-unsubscr...@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to