I have a mongo replica set running on windows azure instances, every 1 hr there is a job that rotates the log files using the command logRotate. Occasionally the server will exit with the following in the event log:
Faulting application name: mongod.exe, version: 0.0.0.0, time stamp: 0x50065a9a
Faulting module name: mongod.exe, version: 0.0.0.0, time stamp: 0x50065a9a
Exception code: 0x40000015
Fault offset: 0x00000000004a6d71
Faulting process id: 0x820
Faulting application start time: 0x01cd75776f11bf4b
Faulting application path: E:\approot\MongoDBBinaries\bin\mongod.exe
Faulting module path: E:\approot\MongoDBBinaries\bin\mongod.exe
Report Id: 8b069c8e-e30f-11e1-8a93-00155d32377b
and this in the log:
Fri Aug 10 17:01:00 [conn63702] getmore local.oplog.rs query: { ts: { $gte: new Date(5774725551155576833) } } cursorid:112962143165828 ntoreturn:0 keyUpdates:0 locks(micros) r:140 nreturned:1 reslen:2351 62ms Fri Aug 10 17:01:00 [conn153516] run command admin.$cmd { getlasterror: 1 }
Fri Aug 10 17:01:00 [conn153516] command admin.$cmd command: { getlasterror: 1 } ntoreturn:1 keyUpdates:0 reslen:101 0ms
Fri Aug 10 17:01:00 [conn153516] query tracking.packages query: { ps: 3 } cursorid:86337725880765 ntoreturn:0 keyUpdates:0 locks(micros) r:3483 nreturned:101 reslen:232884 0ms
Fri Aug 10 17:01:00 [slaveTracking] User Assertion: 11000:E11000 duplicate key error index: local.slaves.$_id_ dup key: { : ObjectId('4fdf4701cb24d5830133d832') }
Fri Aug 10 17:01:00 [slaveTracking] update local.slaves query: { _id: ObjectId('502125a623be1afdbbb9238b'), host: "10.28.212.27", ns: "local.oplog.rs" } update: { $set: { syncedTo: Timestamp 1344618060000|4 } } nscanned:1 nupdated:1 keyUpdates:0 locks(micros) w:896 0ms can't open:
Fri Aug 10 17:28:30 [initandlisten] MongoDB starting : pid=3284 port=27017 dbpath=F:\data 64-bit host=RD00155D32377B
Fri Aug 10 17:28:30 [initandlisten] db version v2.2.0-rc0, pdfile version 4.5
Fri Aug 10 17:28:30 [initandlisten] git version: 33dc8445316479bbaa062db00f179fa5c39bbddb
Fri Aug 10 17:28:30 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
Fri Aug 10 17:28:30 [initandlisten] options: { dbpath: "F:\data", journal: true, logappend: true, logpath: "C:\Resources\directory\3905dd8eed7b42248672809af14e1f65.ReplicaSetRole.MongodLogDir\\mongod.log", port: 27017, quiet: true, replSet: "rs", rest: true, verbose: true }
Has anyone seen this? Is there something I need to be doing before rotating the logs to prevent it?