mongodb异常退出


  • 註冊用戶

    遇到过好几次mongos异常退出,google了多次,包括升级到最新的2.0.7版本之后,该问题一直存在,表现出来的是,当压力增大之后,会在某个时刻退出,日志中典型的错误如下:

    Fri Aug 17 21:22:40 [mongosMain] connection accepted from
    192.168.0.50:31876 #2109

    Logstream::get called in uninitialized state

    Logstream::get called in uninitialized state

    Fri Aug 17 21:22:40 [mongosMain] dbexit: 
    rc:0

    Fri Aug 17 21:22:40 [conn2104]  
    Assertion failure ! inShutdown() client/connpool.cpp 136

    Received signal 6

    Backtrace: 0x52b5f6 0x53613b 0x5628d8 0x562a4b 0x5c55aa 0x5c4030
    0x5c4595 0x769507 0x777aac 0x7b6467 0x7c89c1 0x5e9747 0x3d34607851
    0x3d342e767d

    0x54e5b5 0x3d34232920 0x3d342328a5 0x3d34234085 0x3d3422ba1e
    0x3d3422bae0 0x5e9f04 0x3d34607851 0x3d342e767d 
    CursorCache at shutdown -  sharded: 0 passthrough:
    361

    RReceived signal 11

    Backtrace: 0x54e5b5 0x3d34232920 0x3d34235d05 0x7c2419 0x5e9c1a
    0x3d34607851 0x3d342e767d

    Logstream::get called in uninitialized state

    Fri Aug 17 21:22:40 [conn2108] ERROR: Uncaught std::exception:
    call to empty boost::function, terminating

    Logstream::get called in uninitialized state

    Fri Aug 17 21:22:40 [conn2108] dbexit: 
    rc:100

     ./mongos(_ZN5mongo12sayDbContextEPKc+0x96)
    [0x52b5f6]

     ./mongos(_ZN5mongo8assertedEPKcS1_j+0xfb)
    [0x53613b]

     ./mongos(_ZN5mongo16DBConnectionPool4_getERKSsd+0x118)
    [0x5628d8]

     ./mongos(_ZN5mongo16DBConnectionPool3getERKSsd+0x3b)
    [0x562a4b]

     ./mongos(_ZN5mongo17ClientConnections13checkVersionsERKSs+0x1ba)
    [0x5c55aa]

     ./mongos(_ZN5mongo15ShardConnection5_initEv+0x2a0)
    [0x5c4030]

     ./mongos(_ZN5mongo15ShardConnectionC1ERKNS_5ShardERKSs+0x85)
    [0x5c4595]

     ./mongos(_ZN5mongo8Strategy7doQueryERNS_7RequestERKNS_5ShardE+0x57)
    [0x769507]

     ./mongos(_ZN5mongo14SingleStrategy7queryOpERNS_7RequestE+0x3fc)
    [0x777aac]

     ./mongos(_ZN5mongo7Request7processEi+0x187)
    [0x7b6467]

     ./mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x71)
    [0x7c89c1]

     ./mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287)
    [0x5e9747]

     /lib64/libpthread.so.0() [0x3d34607851]

     /lib64/libc.so.6(clone+0x6d) [0x3d342e767d]

    ./mongos(_ZN5mongo17printStackAndExitEi+0x75)[0x54e5b5]

    Logstream::get called in uninitialized state

    Fri Aug 17 21:22:40 [conn2104] AssertionException while processing
    op type : 2004 to : weibomsg.weibomsg_limitrelation :: caused by ::
    0 assertion client/connpool.cpp:136

    /lib64/libc.so.6[0x3d34232920]

    /lib64/libc.so.6(exit+0x35)[0x3d34235d05]

    Received signal 6

    Backtrace: 0x54e5b5 0x3d34232920 0x3d342328a5 0x3d34234085
    0x3d3422ba1e 0x3d3422bae0 0x5e9f04 0x3d34607851 0x3d342e767d


  • 註冊用戶

    我也遇過幾次這樣的問題,但我重現不出來

    求大神解答


  • 註冊用戶

    ......mongo最新版不都3.4了,你这个2.0.7是什么意思?


登录后回复
 

与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待