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

Repair operation error - " Cannot allocate memory but file doesn't exist anymore, so ignoring"

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

      Hi folks,

      I am running a repair operation and it appears to get stuck with the following error

      2016-01-15T01:39:57.583+0000 [DataFileSync] flushing mmaps took 361607ms  for 657 files
      2016-01-15T01:39:57.638+0000 [DataFileSync] msync failed with: errno:12 Cannot allocate memory but file doesn't exist anymore, so ignoring
      2016-01-15T01:39:57.638+0000 [DataFileSync] msync failed with: errno:12 Cannot allocate memory but file doesn't exist anymore, so ignoring
      2016-01-15T01:39:57.638+0000 [DataFileSync] msync failed with: errno:12 Cannot allocate memory but file doesn't exist anymore, so ignoring
      2016-01-15T01:39:57.638+0000 [DataFileSync] msync failed with: errno:12 Cannot allocate memory but file doesn't exist anymore, so ignoring
      2016-01-15T01:39:57.638+0000 [DataFileSync] msync failed with: errno:12 Cannot allocate memory but file doesn't exist anymore, so ignoring
      

      The process was still running - but I terminated it after several hours. I also see a lot of the following messages in the log

      2016-01-15T01:36:49.736+0000 [initandlisten] warning Listener::getElapsedTimeMillis returning 0ms
      

      The process was started with the following command

      mongod --port 37017 --dbpath /mongodb_data --repair --repairpath /mongodb_data/repair --logpath /mongodb_data/repair.log
      

      Mongo version is 2.6.x

            Assignee:
            Unassigned Unassigned
            Reporter:
            dharshanr@scalegrid.net Dharshan Rangegowda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: