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

WiredTiger out of disk space results in UnknownError

    XMLWordPrintable

Details

    • Fully Compatible
    • Linux

    Description

      When WiredTiger fails due to lack of disk space the message is somewhat obscure:

      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99984--6455822767974076256 -> { numRecords: 1, dataSize: 19 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99986--6455822767974076256 -> { numRecords: 1, dataSize: 25 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99988--6455822767974076256 -> { numRecords: 4, dataSize: 88 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99990--6455822767974076256 -> { numRecords: 1, dataSize: 19 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99992--6455822767974076256 -> { numRecords: 1, dataSize: 25 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99994--6455822767974076256 -> { numRecords: 27, dataSize: 594 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99996--6455822767974076256 -> { numRecords: 1, dataSize: 19 }
      2014-11-13T14:14:34.864-0800 D STORAGE  [conn2] WiredTigerSizeStorer::storeInto table:collection-99998--6455822767974076256 -> { numRecords: 1, dataSize: 25 }
      2014-11-13T14:14:34.870-0800 E STORAGE  [conn2] WiredTiger (-31801) [1415916874:870746][3634:0x7fe4f7bce700], session.commit_transaction: journal/WiredTigerLog.0000000361: posix_fallocate: WT_ERROR: non-specific WiredTiger error
      2014-11-13T14:14:34.871-0800 I -        [conn2] Fatal assertion 28519 UnknownError -31801: WT_ERROR: non-specific WiredTiger error
      2014-11-13T14:14:34.889-0800 I CONTROL  [conn2] 
       0xfee2b3 0xfa1c2b 0xf892d5 0xe2dda9 0xe2defb 0xdc20c3 0xa08c01 0xa74767 0xa

      The cause of the problem only became clear to me after running df -h. If mongod dies because of running out of disk space, we should try to make that very clear to the user.

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill
              andrew.emil@10gen.com Andrew Emil
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: