Repository

apache/brpc

brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc. "brpc" means "better RPC".
14957 3637 826 1453
  • 000
Describe the bug (描述bug) 服务端分别在两个端口启动brpc server和 thrift server后,访问任一端口的/vars/* coredump To Reproduce (复现方法) 1、主线程启动protobuf server; 2、另外创建一个线程,在新的端口启动thrift server; 3、curl 任一端口的 /vars/* Expected behavior (期望行为) 1、正常返回brpc的统计信息...
  • 000
可能是一个基础问题 假如现在有4个pthread(A-D),10个bthread(1-10),bth1-4 在 pthA上(不考虑stolen),其中bth1 中 segfault 触发 coredump,这个时候coredump一定是 bth1 的 context吗?是否会因为 user 侧的 scheduler 导致 coredump bt 回溯的是 bth2-3的 context? 如果不会,这个是怎么保障的呢?
  • 000
Describe the bug (描述bug) 运行可执行文件时报错symbol lookup error: /usr/local/lib/libbrpc.so: undefined symbol: pthread_mutex_lock To Reproduce (复现方法) 尝试多种使用方法,发现在如下场景下可复现报错: 1、编译产出libhttpserver.so(使用c++开发),该so依赖brpc,cmake选项如下: set(DYNAMIC_LIB # ${CMA...
  • 000
Describe the bug (描述bug) W0528 17:36:56.793694 510 external/brpc/src/brpc/input_messenger.cpp:240] Close Socket{id=1248 fd=1395 addr=10.156.8.12:24452:24141} (0x55c9fa744b40) due to unknown message: \F87\88>[\BE\C0<\00\00\00\80\CA|\E1=\F87\88>[\BE\C0<\CA\E0U\BE\CA|\E1=\F87\88>[\BE...
  • 000
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?) 从当前brpc代码支持ssl功能的实现上看,brpc框架本身承担了创建SSL_CTX对象的职责。 然而基于SSL本身的options非常的多,各个用户对于SSL的options要求也不一样以及同时SSL的版本也在不断更新等理由, 导致brpc支持ssl功能代码难以具备普...
  • 000
Describe the bug (描述bug) 进程运行一段时间后,突然死锁。service的方法中会使用DynamicPartitionChannel访问另外一个服务,开启和不开启usercode_in_pthread都会出现死锁 Versions (各种版本) OS:18.04 Compiler: gcc11.3.0 brpc:1.3.0 compile from source protobuf:3.19.2
  • 000
Describe the bug (描述bug) 下载apache-brpc-1.5.0-src.tar.gz 编译运行,运行时抛出报警 W0522 13:33:41 259 src/bvar/default_variables.cpp:452] Fail to proc_pid_rusage: Invalid argument To Reproduce (复现方法) Expected behavior (期望行为) Versions (各种版本) OS: Mac M2 Monterey Compiler: brpc: 1.5....