pluswu commented on issue #1335: URL: https://github.com/apache/incubator-brpc/issues/1335#issuecomment-765956219
看上去和这个类似 https://github.com/apache/incubator-brpc/issues/1085 我这边验证多次发现如果进程用nohup方式启动没有问题 如果用系统api实现daemon就会在导出bvar信息时 固定在下面这里死锁 #3 0x00007efc59afaf79 in lock (this=) at /data/home/pluswu/incubator-brpc/src/butil/synchronization/lock.h:69 #4 lock_guard (__m=..., this=) at /usr/include/c++/4.8.2/mutex:414 #5 get_value (result=, window_size=10, this=) at /data/home/pluswu/incubator-brpc/src/bvar/detail/sampler.h:149 #6 get_span (this=, result=, window_size=10) at /data/home/pluswu/incubator-brpc/src/bvar/window.h:96 #7 bvar::PerSecond<bvar::PassiveStatus >::get_value (this=, window_size=10) at /data/home/pluswu/incubator-brpc/src/bvar/window.h:225 #8 0x00007efc59af71e6 in get_value (this=) at /data/home/pluswu/incubator-brpc/src/bvar/window.h:111 #9 bvar::detail::WindowBase<bvar::PassiveStatus, (bvar::SeriesFrequency)1>::describe (this=, os=..., quote_string=) at /data/home/pluswu/incubator-brpc/src/bvar/window.h:117 #10 0x00007efc59b14d35 in bvar::Variable::describe_exposed (name="process_faults_minor_second", os=..., quote_string=, display_filter=bvar::DISPLAY_ON_PLAIN_TEXT) at /data/home/pluswu/incubator-brpc/src/bvar/variable.cpp:257 ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
