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

Server restart with WiredTiger on full disk causes a segfault

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.0.0-rc6
    • 2.8.0-rc3
    • Storage
    • Fully Compatible
    • OS X
    • Hide

      1. Create 1GB ramdisk: diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://2000000`
      2. start mongod with wiredTiger (default setting, except dbpath)
      3. create some random 100MB binary files with: dd if=/dev/urandom of=file bs=1048576 count=100
      4. insert them using mongofiles until disk is full and the server crashes
      5. run df to determine the amount of free space left on the ramdisk
      6. run: dd if=/dev/urandom of=file bs=xxxxx count=1 in the ramdisk directory, where bs= the free space from step 5. This should fill up the ramdisk completely.
      7. restart the server and connect mongo
      8. segmentation fault 11

      stack trace is attached

      Show
      1. Create 1GB ramdisk: diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://2000000` 2. start mongod with wiredTiger (default setting, except dbpath) 3. create some random 100MB binary files with: dd if=/dev/urandom of=file bs=1048576 count=100 4. insert them using mongofiles until disk is full and the server crashes 5. run df to determine the amount of free space left on the ramdisk 6. run: dd if=/dev/urandom of=file bs=xxxxx count=1 in the ramdisk directory, where bs= the free space from step 5. This should fill up the ramdisk completely. 7. restart the server and connect mongo 8. segmentation fault 11 stack trace is attached

    Description

      Trying to restart a wiredTiger mongod after it has been terminated due to a full disk causes a segfault

      Attachments

        1. wt-files-st.txt
          9 kB
        2. wt-st-3.txt
          4 kB
        3. wt-st-4.txt
          9 kB

        Activity

          People

            sue.loverso@mongodb.com Susan LoVerso
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: