Git Product home page Git Product logo

Comments (7)

baimushan avatar baimushan commented on July 19, 2024

停的时候stream_map的值为3这个有关系吗

from sofa-pbrpc.

baimushan avatar baimushan commented on July 19, 2024

还发现一个现象
#0 0x00007f1833fb2163 in epoll_wait () from /lib64/libc.so.6
#1 0x000000000061f888 in boost::asio::detail::epoll_reactor::run (this=0x2266e10, block=, ops=...) at /usr/local/include/boost/asio/detail/impl/epoll_reactor.ipp:392
#2 0x0000000000624671 in boost::asio::detail::task_io_service::do_run_one (ec=..., this_thread=..., lock=..., this=0x22738e0) at /usr/local/include/boost/asio/detail/impl/task_io_service.ipp:396
#3 boost::asio::detail::task_io_service::run (this=0x22738e0, ec=...) at /usr/local/include/boost/asio/detail/impl/task_io_service.ipp:153
#4 0x000000000062521e in boost::asio::io_service::run (this=0x228f6d0) at /usr/local/include/boost/asio/impl/io_service.ipp:59
#5 sofa::pbrpc::ThreadGroupImpl::thread_run (param=0x22bf100) at src/sofa/pbrpc/thread_group_impl.h:263
#6 0x00007f1834e7a9d1 in start_thread () from /lib64/libpthread.so.0
#7 0x00007f1833fb1b6d in clone () from /lib64/libc.so.6

hang在了epoll_wait上,
但是输出了epoll_reactor中的信息
(gdb) p timer_fd_
$6 = 515
所以不会给 timeout 传入 -1 。很奇怪为啥会hang死在这个地方。

from sofa-pbrpc.

zd-double avatar zd-double commented on July 19, 2024

@baimushan 你把使用的方法和场景说一下,我尝试本地复现

from sofa-pbrpc.

baimushan avatar baimushan commented on July 19, 2024

server 不停的启动停止,退出前我们会stop rpclient实例, 就会遇到这样的case。
从epoll_wait的使用上应该不能hang啊??

from sofa-pbrpc.

zd-double avatar zd-double commented on July 19, 2024

根据你描述的场景,没有复现出hang住的情况,能否留一下邮箱或其他联系方式方便沟通。

from sofa-pbrpc.

baimushan avatar baimushan commented on July 19, 2024

我的qq 406455861

from sofa-pbrpc.

zd-double avatar zd-double commented on July 19, 2024

@baimushan ,近期在我们的环境复现了你说的问题,修复代码已经merge到master分支,请知晓,谢谢!

from sofa-pbrpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.