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

killCursor command causes fassert failure in mongod with low limit for open files

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • Labels:
      None
    • ALL

      PyMongo is probably doing something wrong, but in replacing OP_KILLCURSOR with the killCursors command, we are causing the database (version 3.1.6) to exit with the log:

      2015-08-28T13:21:46.080-0400 I REPL     [ReplicationExecutor] Error in heartbeat request to mongodb.home:27017; HostUnreachable Failed attempt to connect to mongodb.home:27017; couldn't initialize connection to host mongodb.home, address is invalid
      2015-08-28T13:21:46.498-0400 E STORAGE  [repl writer worker 6] WiredTiger (24) [1440782506:498605][5975:0x110c89000], WT_SESSION.create: /Users/annaherlihy/data/mongodb/rs0-2/index-1918-8285583706914688281.wt: Too many open files
      2015-08-28T13:21:46.499-0400 E REPL     [repl writer worker 6] Failed command { create: "test" } on pymongo_test with status UnknownError 24: Too many open files during oplog application
      2015-08-28T13:21:46.499-0400 F REPL     [repl writer worker 6] Error applying operation ({ ts: Timestamp 1440782501000|2, h: 2043797443416079560, v: 2, op: "c", ns: "pymongo_test.$cmd", o: { create: "test" } }): UnknownError 24: Too many open files
      2015-08-28T13:21:46.499-0400 I -        [repl writer worker 6] Fatal Assertion 16359
      2015-08-28T13:21:46.499-0400 I -        [repl writer worker 6]
      
      ***aborting after fassert() failure
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: