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

createPrivateMap fails

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.0-rc2
    • Affects Version/s: 1.7.5, 1.7.6
    • Component/s: Storage
    • Labels:
      None
    • Environment:
      Ubuntu 10.04 LTS 64-bit build
    • Linux

      Testing 1.7.x build on ubuntu the process quits with the following error on launch:

      Sun Feb 20 20:55:59 [initandlisten] MongoDB starting : pid=15317 port=27017 dbpath=/data/mongodb master=1 64-bit
      Sun Feb 20 20:55:59 [initandlisten] db version v1.8.0-rc0-pre-, pdfile version 4.5
      Sun Feb 20 20:55:59 [initandlisten] git version: 9a6f2dcf91c2025f7549c875e78e4a203b26adcf
      Sun Feb 20 20:55:59 [initandlisten] sys info: Linux domU-12-31-39-06-79-A1 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
      Sun Feb 20 20:55:59 [initandlisten] journal dir=/data/mongodb/journal
      Sun Feb 20 20:55:59 [initandlisten] recover : no journal files present, no recovery needed
      Sun Feb 20 20:55:59 [initandlisten] waiting for connections on port 27017
      Sun Feb 20 20:55:59 [initandlisten] ERROR: mmap private failed with out of memory. (64 bit build)
      Sun Feb 20 20:55:59 [initandlisten] Assertion: 13636:createPrivateMap failed (look in log for error)
      0x560b39 0x626ac0 0x62785b 0x769f5d 0x763b88 0x764282 0x76476c 0x764fff 0x75ce8f 0x75d82e 0x742beb 0x6924d3 0x89ed90 0x89fbbc 0x8a02c2 0x8a6283 0x7f2c967b7c4d 0x4e03d9
      /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x129) [0x560b39]
      /usr/bin/mongod(_ZN5mongo8MongoMMF13finishOpeningEv+0x60) [0x626ac0]
      /usr/bin/mongod(_ZN5mongo8MongoMMF6createESsRyb+0xdb) [0x62785b]
      /usr/bin/mongod(_ZN5mongo13MongoDataFile4openEPKcib+0x12d) [0x769f5d]
      /usr/bin/mongod(_ZN5mongo8Database7getFileEiib+0x178) [0x763b88]
      /usr/bin/mongod(_ZN5mongo8Database12openAllFilesEv+0x22) [0x764282]
      /usr/bin/mongod(_ZN5mongo8DatabaseC1EPKcRbRKSs+0x44c) [0x76476c]
      /usr/bin/mongod(_ZN5mongo14DatabaseHolder11getOrCreateERKSsS2_Rb+0x5df) [0x764fff]
      /usr/bin/mongod(_ZN5mongo6Client7Context11_finishInitEb+0x38f) [0x75ce8f]
      /usr/bin/mongod(_ZN5mongo6Client7ContextC1ERKSsSsPNS_9mongolockEb+0x7e) [0x75d82e]
      /usr/bin/mongod(_ZN5mongo7Helpers12getSingletonEPKcRNS_7BSONObjE+0x6b) [0x742beb]
      /usr/bin/mongod(_ZN5mongo16startReplicationEv+0x2b3) [0x6924d3]
      /usr/bin/mongod(_ZN5mongo6listenEi+0xd0) [0x89ed90]
      /usr/bin/mongod(_ZN5mongo14_initAndListenEiPKc+0x8dc) [0x89fbbc]
      /usr/bin/mongod(_ZN5mongo13initAndListenEiPKc+0x22) [0x8a02c2]
      /usr/bin/mongod(main+0x5c83) [0x8a6283]
      /lib/libc.so.6(__libc_start_main+0xfd) [0x7f2c967b7c4d]
      /usr/bin/mongod(__gxx_personality_v0+0x3b9) [0x4e03d9]
      Sun Feb 20 20:55:59 [initandlisten] exception in initAndListen std::exception: createPrivateMap failed (look in log for error), terminating
      Sun Feb 20 20:55:59 dbexit:
      Sun Feb 20 20:55:59 [initandlisten] shutdown: going to close listening sockets...
      Sun Feb 20 20:55:59 [initandlisten] shutdown: going to flush diaglog...
      Sun Feb 20 20:55:59 [initandlisten] shutdown: going to close sockets...
      Sun Feb 20 20:55:59 [initandlisten] shutdown: waiting for fs preallocator...
      Sun Feb 20 20:55:59 [initandlisten] shutdown: lock for final commit...
      Sun Feb 20 20:55:59 [initandlisten] shutdown: final commit...
      Sun Feb 20 20:55:59 [initandlisten] shutdown: closing all files...
      Sun Feb 20 20:55:59 closeAllFiles() finished
      Sun Feb 20 20:55:59 [initandlisten] shutdown: journalCleanup...
      Sun Feb 20 20:55:59 [initandlisten] removeJournalFiles
      Sun Feb 20 20:55:59 [initandlisten] shutdown: removing fs lock...
      Sun Feb 20 20:55:59 dbexit: really exiting now

      Not sure if this is related to --dur or not.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            jsmestad Justin Smestad
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: