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

Out of disk space while building new index terminates server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      Linux li245-114 2.6.38.3-linode32 #1 SMP Thu Apr 21 20:08:53 UTC 2011 i686 GNU/Linux
    • Operating System:
      Linux

      Description

      It shouldn't go down when the server is out of disk space.

      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.changelogs
      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.artworks
      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.genes
      Wed Jun 8 21:23:10 [conn665] info DFM::findAll(): extent 0:2a00 was empty, skipping ahead gravity_test.system.indexes
      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.users
      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.mongoid_fulltext.index
      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.mongoid_fulltext.index_changelog_0
      Wed Jun 8 21:23:10 [conn665] CMD: drop gravity_test.artists
      Wed Jun 8 21:23:10 [conn665] building new index on

      { _id: 1 }

      for gravity_test.users
      Wed Jun 8 21:23:10 [conn665] Uncaught std::exception: boost::filesystem::create_directory: No space left on device: "/var/lib/mongodb/_tmp/esort.1307586190.1030033087", terminating
      Wed Jun 8 21:23:10 dbexit:
      Wed Jun 8 21:23:10 [conn665] shutdown: going to close listening sockets...
      Wed Jun 8 21:23:10 [conn665] closing listening socket: 5
      Wed Jun 8 21:23:10 [conn665] closing listening socket: 6
      Wed Jun 8 21:23:10 [conn665] closing listening socket: 7
      Wed Jun 8 21:23:10 [conn665] closing listening socket: 8
      Wed Jun 8 21:23:10 [conn665] removing socket file: /tmp/mongodb-27017.sock
      Wed Jun 8 21:23:10 [initandlisten] now exiting
      Wed Jun 8 21:23:10 dbexit: ; exiting immediately
      Wed Jun 8 21:23:11 [conn665] removing socket file: /tmp/mongodb-28017.sock
      Wed Jun 8 21:23:11 [conn665] shutdown: going to flush diaglog...
      Wed Jun 8 21:23:11 [conn665] shutdown: going to close sockets...
      Wed Jun 8 21:23:11 [conn665] shutdown: waiting for fs preallocator...
      Wed Jun 8 21:23:11 [conn665] shutdown: closing all files...
      Wed Jun 8 21:23:11 Got signal: 6 (Aborted).

      Wed Jun 8 21:23:11 Backtrace:
      0x8520ab2 0xf57fe400 0xf57fe416 0xb7538651 0xb753ba82 0xb7531718 0x817455a 0x81729f2 0x83b19ff 0x83b2364 0x8524b3c 0x81f7468 0x85385ad 0xb766d96e 0xb75dba4e
      /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x3c2) [0x8520ab2]
      [0xf57fe400]
      [0xf57fe416]
      /lib/tls/i686/cmov/libc.so.6(gsignal+0x51) [0xb7538651]
      /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0xb753ba82]

      Wed Jun 8 21:23:11 Backtrace:
      0x8520ab2 0xf57fe400 0xf57fe416 0xb7538651 0xb753ba82 0xb7531718 0x817455a 0x81729f2 0x83b19ff 0x83b2364 0x8524b3c 0x81f7468 0x85385ad 0xb766d96e 0xb75dba4e
      /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x3c2) [0x8520ab2]
      [0xf57fe400]
      [0xf57fe416]
      /lib/tls/i686/cmov/libc.so.6(gsignal+0x51) [0xb7538651]
      /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0xb753ba82]
      /lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8) [0xb7531718]
      /usr/bin/mongod(_ZN5mongo6rwlockD1Ev+0x11a) [0x817455a]
      /usr/bin/mongod(_ZN5mongo9MongoFile13closeAllFilesERSt18basic_stringstreamIcSt11char_traitsIcESaIcEE+0x232) [0x81729f2]
      /usr/bin/mongod(_ZN5mongo14shutdownServerEv+0x73f) [0x83b19ff]
      /usr/bin/mongod(_ZN5mongo6dbexitENS_8ExitCodeEPKcb+0x364) [0x83b2364]
      /usr/bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0xdbc) [0x8524b3c]
      /usr/bin/mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPN5mongo13MessagingPortEENS2_5list1INS2_5valueIS6_EEEEEEE3runEv+0x18) [0x81f7468]
      /usr/bin/mongod(thread_proxy+0x7d) [0x85385ad]
      /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xb766d96e]
      /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb75dba4e]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aaron Aaron Staple
              Reporter:
              dblock Daniel Doubrovkine
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: