Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1963

killOp causes server failure on MongoDB 1.6.3

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.3
    • Affects Version/s: 1.6.3
    • Component/s: Stability, Usability
    • None
    • Environment:
      Linux debian1 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 GNU/Linux
      2 Gig Ram, Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
      ext3
    • Linux

      I had this process:

      {
      "opid" : 333298,
      "active" : true,
      "lockType" : "read",
      "waitingForLock" : true,
      "secs_running" : 408,
      "op" : "query",
      "ns" : "stream.s_1234",
      "query" : {
      "count" : "s_1234",
      "query" :

      { "oid" : NumberLong(777), "ot" : 1 }

      },
      "client" : "0.0.0.0:0",
      "desc" : "conn"
      }

      I tried to kill it with "db.killOp(333298)":

      db.killOp(333298)

      { "info" : "attempting to kill op" }

      > db.killOp(333298)

      Fri Oct 15 16:00:40 query failed : stream.$cmd.sys.killop

      { op: 333298.0 }

      to: 127.0.0.1
      Fri Oct 15 16:00:40 Error: error doing query: failed (anon):1509

      causing the following logs, and a server shutdown:

      Fri Oct 15 16:00:31 [conn598] going to kill op: op: 333298.0
      Fri Oct 15 16:00:32 [conn611] Count with ns: stream.s_1234 and query:

      { oid: 777, ot: 1 }

      failed with exception: exception: 11601
      interrupted
      Fri Oct 15 16:00:32 [conn611] query stream.$cmd ntoreturn:1 command:
      { count: "s_1234", query:

      { oid: 777, ot: 1 }

      } reslen:64 414956ms
      warning: hit on in-active ProgressMeter
      Fri Oct 15 16:00:32 Got signal: 8 (Floating point exception).

      Fri Oct 15 16:00:32 Backtrace:
      0x8212f9 0x7fc32a7bf1e0 0x760bcd 0x794c07 0x796028 0x5fb775 0x60022f
      0x70547a 0x708ab6 0x8235ef 0x837460 0x7fc32b2a18ba 0x7fc32a85c02d
      /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x8212f9]
      /lib/libc.so.6(+0x321e0) [0x7fc32a7bf1e0]
      /usr/bin/
      mongod(_ZN5mongo2mr16MapReduceCommand3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb
      +0x79d) [0x760bcd]
      /usr/bin/
      mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb
      +0x597) [0x794c07]
      /usr/bin/
      mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_10BufBuilderERNS_14BSONObjBuilderEbi
      +0x798) [0x796028]
      /usr/bin/
      mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_10BufBuilderERNS_14BSONObjBuilderEbi
      +0x35) [0x5fb775]
      /usr/bin/
      mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1
      +0x1bbf) [0x60022f]
      /usr/bin/mongod() [0x70547a]
      /usr/bin/
      mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE
      +0x14d6) [0x708ab6]
      /usr/bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x30f)
      [0x8235ef]
      /usr/bin/mongod(thread_proxy+0x80) [0x837460]
      /lib/libpthread.so.0(+0x68ba) [0x7fc32b2a18ba]
      /lib/libc.so.6(clone+0x6d) [0x7fc32a85c02d]

      Fri Oct 15 16:00:32 dbexit:

      Fri Oct 15 16:00:32 [conn611] shutdown: going to close listening
      sockets...
      Fri Oct 15 16:00:32 [conn611] closing listening socket: 11
      Fri Oct 15 16:00:32 [conn611] closing listening socket: 12
      Fri Oct 15 16:00:32 [conn611] closing listening socket: 13
      Fri Oct 15 16:00:32 [conn611] closing listening socket: 14
      Fri Oct 15 16:00:32 [conn611] shutdown: going to flush oplog...
      Fri Oct 15 16:00:32 [conn611] shutdown: going to close sockets...
      Fri Oct 15 16:00:32 [conn611] shutdown: waiting for fs preallocator...
      Fri Oct 15 16:00:32 [conn611] shutdown: closing all files...
      Fri Oct 15 16:00:32 closeAllFiles() finished

      Fri Oct 15 16:00:32 [conn611] shutdown: removing fs lock...
      Fri Oct 15 16:00:32 dbexit: really exiting now
      Fri Oct 15 16:00:32 ERROR: Client::~Client _context should be null but
      is not; client:conn

      from

      http://groups.google.com/group/mongodb-user/browse_thread/thread/9f5d9f684e3b152e?hl=de

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            chr1st0ph Christoph Preissner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: