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]
- duplicates
-
SERVER-4739 Race condition in log rotation (was: SIGUSR1 should set a flag rather than doing rotation)
- Closed
- related to
-
SERVER-6896 Server crashes if logRotate is issued and the file cannot be rotated
- Closed