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

--dur fails with createPrivateMap on windows

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

      Starting up on windows with --dur failes to load existing database.

      > show dbs
      Tue Feb 08 20:59:24 uncaught exception: listDatabases failed:{
      "errmsg" : "exception: createPrivateMap failed (look in log for error)",
      "code" : 13636,
      "ok" : 0
      }

      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 }

      Without --dur, it works:

      > show dbs
      ...
      market_data 5.951171875GB
      ...

      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/market_data.ns
      Accessing: market_data for the first time
      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/mongosv.ns
      Accessing: mongosv for the first time
      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/morphia_test.ns
      Accessing: morphia_test for the first time
      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/my_database.ns
      Accessing: my_database for the first time
      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/ResultsDB.ns
      Accessing: ResultsDB for the first time
      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/test.ns
      Accessing: test for the first time
      Tue Feb 08 21:07:52 [conn1] checking size file /data/db/testing.ns
      Accessing: testing for the first time
      Tue Feb 08 21:07:52 [conn1] query admin.$cmd ntoreturn:1 command:

      { listDatabases: 1.0 }

      reslen:703 82ms
      Tue Feb 08 21:07:52 [conn1] query: admin.$cmd

      { replSetGetStatus: 1 }

            Assignee:
            dwight@mongodb.com Dwight Merriman
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: