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

FlushViewOfFile with error 487 when trying to do repair database and recreate capped collection several times

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.7
    • Component/s: Storage
    • Environment:
      Microsoft Windows Web Server 2008R2, 64-bit
      Microsoft Windows Server 2008R2 Standard, 64-bit
    • Windows

      After making nearly 10 attempts to do repair database, drop capped collection, create a new capped collection with different size a Mongo db windows service terminates and shows the following error in log file:

      [DataFileSync] FlushViewOfFile for E:/Serena/SBM/Common/Diagnostics/MongoDb/data/sbm.0 failed with error 487 after 1 attempts taking 0 ms
      

      The size of capped collection is ranged from 10000MB to 10010MB.
      I've seen similar issues, but none of them were related with repairing database.

        1. ServerLogFlushViewOfFile_webServer2008.txt
          29 kB
        2. ServerLogFlushViewOfFile_webServer2008_verbose.txt
          52 kB
        3. ServerLogFlushViewOfFile_win2008_verbose.txt
          60 kB
        4. Script_FlushViewOfFile.txt
          1 kB
        5. Script_FlushViewOfFile_Result.txt
          40 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            surikov.pavel@gmail.com Pavel Surikov
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: