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

Mongodb crashes without log after creating index

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

      Do continously massive insertions > 3Gb/h and create indexes on one of the newly created collections.

      Show
      Do continously massive insertions > 3Gb/h and create indexes on one of the newly created collections.

      Hello,
      I am experiencing an issue with my server. I created a db on my Win 2008 server, it uses a shared drive (using UNC see configuration file bellow). I am running the server as a service run by a different user (non interactive one).

      I do massive inserts (about 3Gb/h). When I create indexes (background=True), SOMETIMES my server crashes without any trace on the log files. Moreover, I am not sure that this only due to indexes....

      I got 2 different errors :

      • { "serverUsed" : "localhost:27017" , "ok" : 1 , "n" : 0 , "err" : "Can't take a write lock while out of disk space" , "code" : 14031}

        -> THIS IS WEIRD AS I HAVE >400Gb free on the server

      • OR NOTHING at all, with no trace.

      I did not have this error before, but since I have changed the dbpath to another one in a share drive, it is not stable anymore !

      Besides, I have also tried to set this option to true: smallFiles, but I got the same problem.

      Do you have any idea ?
      Many thanks

      The configuration file is:
      systemLog:
      destination: file
      path: "//london03/TWXAW0_5/Mongo/logs/mongodb.log"
      quiet: false
      storage:
      journal:
      enabled: true
      dbPath: "//london03/TWXAW0_5/Mongo/db/"
      net:
      bindIp: 0.0.0.0
      port: 27017

      Server :

      • Mongo 2.6.4 64bits version for Windows server 2008
      • Windows server 2008 R2 Enterprise
      • 48 Gb of RAM
      • X5680 Xeon 2 processors @3.33Ghz
      • 400 Gb of available space on the shared drive (UNC: //london03/TWXAW0_5/Mongo/db/)

            Assignee:
            Unassigned Unassigned
            Reporter:
            kazuya25 Kaz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: