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

MongoDB 2.2.1/Linux, 32-bit crashing upon log rotation

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.2.1
    • Component/s: Build
    • Environment:
      Linux gasmon10 2.6.38-gentoo-r6 #1 SMP Fri Feb 17 21:57:45 CET 2012 i686 Intel(R) Xeon(R) CPU X5650 @ 2.67GHz GenuineIntel GNU/Linux
    • ALL

      After switching from MongoDB 2.0 to 2.2.1 our mongod crashes every night upon log rotation:

      Sat Nov 17 00:02:44 [conn502] end connection 127.0.0.1:55029 (4 connections now open)
      Sat Nov 17 00:02:44 [conn503] end connection 127.0.0.1:55030 (3 connections now open)
      Sat Nov 17 00:07:01 [initandlisten] ERROR: Failed to rename /srv/gasmon/mongodb/mongodb.log to /srv/gasmon/mongodb/mongodb.log.2012-11-16T23-07-01  Fatal Assertion 16176
      0x875225a 0x87291a5 0x8712078 0x82a513d 0xb7724400 0xb7724424 0xb75117c1 0x8739a1f 0x873f590 0x817166f 0x8174499 0x8174c45 0x817cf7e 0x817e6a2 0xb7460cc6 0x816f1d1 
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo15printStackTraceERSo+0x2a) [0x875225a]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo10logContextEPKc+0xa5) [0x87291a5]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo13fassertFailedEi+0xa8) [0x8712078]
       /srv/gasmon/gasmon-prod/bin/mongod() [0x82a513d]
       [0xb7724400]
       [0xb7724424]
       /lib/libc.so.6(__select+0x61) [0xb75117c1]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo8Listener13initAndListenEv+0x23f) [0x8739a1f]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo17PortMessageServer3runEv+0x20) [0x873f590]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo6listenEi+0x1af) [0x817166f]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo14_initAndListenEi+0x669) [0x8174499]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo13initAndListenEi+0x25) [0x8174c45]
       /srv/gasmon/gasmon-prod/bin/mongod() [0x817cf7e]
       /srv/gasmon/gasmon-prod/bin/mongod(main+0x32) [0x817e6a2]
       /lib/libc.so.6(__libc_start_main+0xe6) [0xb7460cc6]
       /srv/gasmon/gasmon-prod/bin/mongod() [0x816f1d1]
      Sat Nov 17 00:07:01 [initandlisten] 
      
      ***aborting after fassert() failure
      
      
      Sat Nov 17 00:07:01 Got signal: 6 (Aborted).
      
      Sat Nov 17 00:07:01 Backtrace:
      0x875225a 0x816ffea 0xb7724400 0xb7724424 0xb74746a1 0xb7475de2 0x87120b1 0x82a513d 0xb7724400 0x873f590 0x817166f 0x8174499 0x8174c45 0x817cf7e 0x817e6a2 0xb7460cc6 0x816f1d1 
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo15printStackTraceERSo+0x2a) [0x875225a]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo10abruptQuitEi+0x3ba) [0x816ffea]
       [0xb7724400]
       [0xb7724424]
       /lib/libc.so.6(gsignal+0x51) [0xb74746a1]
       /lib/libc.so.6(abort+0x182) [0xb7475de2]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo13fassertFailedEi+0xe1) [0x87120b1]
       /srv/gasmon/gasmon-prod/bin/mongod() [0x82a513d]
       [0xb7724400]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo17PortMessageServer3runEv+0x20) [0x873f590]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo6listenEi+0x1af) [0x817166f]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo14_initAndListenEi+0x669) [0x8174499]
       /srv/gasmon/gasmon-prod/bin/mongod(_ZN5mongo13initAndListenEi+0x25) [0x8174c45]
       /srv/gasmon/gasmon-prod/bin/mongod() [0x817cf7e]
       /srv/gasmon/gasmon-prod/bin/mongod(main+0x32) [0x817e6a2]
       /lib/libc.so.6(__libc_start_main+0xe6) [0xb7460cc6]
       /srv/gasmon/gasmon-prod/bin/mongod() [0x816f1d1]
      

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            yet@gmx.de Andreas Jung
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: