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

createPrivateMap fails, leads to repeated multiple opens to same file

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.8.0-rc0
    • Affects Version/s: 1.7.5
    • Component/s: Storage
    • None
    • Windows

      When running with --dur (see SERVER-2500) there is a primary error and then the second error is the repeated after the first.

      > use market_data
      switched to db market_data
      > show tables
      Tue Feb 08 21:00:08 uncaught exception: error: { "$err" : "MongoFile : multiple opens of same filename", "code" : 13617

      ...
      Tue Feb 08 20:59:24 [conn1] checking size file /data/db/market_data.ns
      Accessing: market_data for the first time
      Tue Feb 08 20:59:24 [conn1] createPrivateMap failed /data/db/market_data.5 errno:1455 The paging file is too small for this operation to complete.
      Tue Feb 08 20:59:24 [conn1] Assertion: 13636:createPrivateMap failed (look in log for error)
      Tue Feb 08 20:59:24 [conn1] query admin.$cmd ntoreturn:1 command:

      { listDatabases: 1.0 }

      reslen:134 153ms
      Tue Feb 08 20:59:24 [conn1] query: admin.$cmd

      { replSetGetStatus: 1 }

      Tue Feb 08 20:59:24 [conn1] run command admin.$cmd

      { replSetGetStatus: 1 }

      Tue Feb 08 20:59:24 [conn1] command:

      { replSetGetStatus: 1 }

      ...
      Tue Feb 08 21:00:08 [conn1] query: market_data.system.namespaces{}
      Tue Feb 08 21:00:08 [conn1] Accessing: market_data for the first time
      Tue Feb 08 21:00:08 [conn1] Assertion: 13617:MongoFile : multiple opens of same filename
      Tue Feb 08 21:00:08 [conn1] assertion 13617 MongoFile : multiple opens of same filename ns:market_data.system.namespaces query:{}
      Tue Feb 08 21:00:08 [conn1] query market_data.system.namespaces exception 0ms
      Tue Feb 08 21:00:08 [conn1] query: admin.$cmd

      { replSetGetStatus: 1 }

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: