-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.8.0-rc0
-
Component/s: None
-
None
-
Environment:Tue Mar 1 21:29:48 [initandlisten] MongoDB starting : pid=10475 port=27017 dbpath=/mongodbdata/ 64-bit
Tue Mar 1 21:29:48 [initandlisten] db version v1.8.0-rc0, pdfile version 4.5
Tue Mar 1 21:29:48 [initandlisten] git version: 65a7e81df0747b6bc9380b78e0182192bacdb4d0
Tue Mar 1 21:29:48 [initandlisten] build sys info: Linux ip-10-110-9-236 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41Tue Mar 1 21:29:48 [initandlisten] MongoDB starting : pid=10475 port=27017 dbpath=/mongodbdata/ 64-bit Tue Mar 1 21:29:48 [initandlisten] db version v1.8.0-rc0, pdfile version 4.5 Tue Mar 1 21:29:48 [initandlisten] git version: 65a7e81df0747b6bc9380b78e0182192bacdb4d0 Tue Mar 1 21:29:48 [initandlisten] build sys info: Linux ip-10-110-9-236 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
-
Linux
A secondary in a 2 member replica set crashed. it was running durability so I was able to recover quickly.
pb1:PRIMARY> rs.conf()
{
"_id" : "pb1",
"version" : 1,
"members" : [
,
{ "_id" : 1, "host" : "pb1b:27017" } ]
}
Tue Mar 1 21:24:42 [conn677] query admin.$cmd ntoreturn:1 command:
{ serverStatus: 1 } reslen:1509 965ms
Tue Mar 1 21:25:04 [conn2112] query admin.$cmd ntoreturn:1 command:
reslen:246 570ms
Tue Mar 1 21:25:06 [conn2112] query metrics.$cmd ntoreturn:1 command:
reslen:216 2426ms
Tue Mar 1 21:25:39 [dur] lsn set 34039154
Tue Mar 1 21:26:09 [replica set sync] ERROR: 13601 Couldn't remap private view: errno:12 Cannot allocate memory
Tue Mar 1 21:26:09 [replica set sync] aborting
Tue Mar 1 21:26:09 Got signal: 6 (Aborted).
Tue Mar 1 21:26:10 Backtrace:
0x8a3189 0x3a768302d0 0x3a76830265 0x3a76831d10 0x5bc48f 0x629ced 0x62dac2 0x62deb5 0x695649 0x708ef5 0x709318 0x70939c 0x709835 0x8b6a30 0x3a7700673d 0x3a768d3f6d
/home/david/mongodb/latest/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x8a3189]
/lib64/libc.so.6 [0x3a768302d0]
/lib64/libc.so.6(gsignal+0x35) [0x3a76830265]
/lib64/libc.so.6(abort+0x110) [0x3a76831d10]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo16MemoryMappedFile16remapPrivateViewEPv+0x10f) [0x5bc48f]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo8MongoMMF19remapThePrivateViewEv+0x4d) [0x629ced]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo3dur17_REMAPPRIVATEVIEWEv+0x212) [0x62dac2]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo3dur16REMAPPRIVATEVIEWEv+0x25) [0x62deb5]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo10MongoMutex4lockEv+0x149) [0x695649]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl8syncTailEv+0x19e5) [0x708ef5]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl11_syncThreadEv+0xc8) [0x709318]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x3c) [0x70939c]
/home/david/mongodb/latest/bin/mongod(_ZN5mongo15startSyncThreadEv+0x215) [0x709835]
/home/david/mongodb/latest/bin/mongod(thread_proxy+0x80) [0x8b6a30]
/lib64/libpthread.so.0 [0x3a7700673d]
/lib64/libc.so.6(clone+0x6d) [0x3a768d3f6d]
Tue Mar 1 21:26:12 dbexit:
Tue Mar 1 21:26:12 [replica set sync] shutdown: going to close listening sockets...
Tue Mar 1 21:26:12 [replica set sync] closing listening socket: 5
Tue Mar 1 21:26:12 [replica set sync] closing listening socket: 6
Tue Mar 1 21:26:12 [replica set sync] closing listening socket: 8
Tue Mar 1 21:26:12 [replica set sync] closing listening socket: 9
Tue Mar 1 21:26:12 [replica set sync] removing socket file: /tmp/mongodb-27017.sock
Tue Mar 1 21:26:12 [replica set sync] removing socket file: /tmp/mongodb-28017.sock
Tue Mar 1 21:26:12 [replica set sync] shutdown: going to flush diaglog...
Tue Mar 1 21:26:12 [replica set sync] shutdown: going to close sockets...
Tue Mar 1 21:26:12 [replica set sync] shutdown: waiting for fs preallocator...
Tue Mar 1 21:26:12 [replica set sync] shutdown: lock for final commit...
Tue Mar 1 21:26:12 [replica set sync] shutdown: final commit...
Tue Mar 1 21:26:12 [replica set sync] shutdown: closing all files...