在對Windows Server 2008 R2上運行的MongoDB 2.2.3碎片進行插入操作期間,碎片中的其中一個複製與日誌文件一起崩潰,如下所示。MongoDB複製崩潰並且不會再次啓動
由於問題似乎源於缺少頁面文件,我嘗試將其大小從8GB擴大到15GB,但這並未改變我無法啓動複製。
這是一個已知的錯誤嗎?有解決方案嗎?
如果需要其他信息,請發表評論。
崩潰期間登錄
Wed Feb 27 09:02:03 [initandlisten] connection accepted from 192.168.159.29:53112 #16840 (14 connections now open)
Wed Feb 27 09:02:21 [conn16839] end connection 192.168.159.26:63150 (13 connections now open)
Wed Feb 27 09:02:21 [initandlisten] connection accepted from 192.168.159.26:63153 #16841 (14 connections now open)
Wed Feb 27 09:02:28 [repl writer worker 1] VirtualProtect for E:/MongoDB/data/api.62 chunk 8245 failed with errno:1455 The paging file is too small for this operation to complete. (chunk size is 67108864, address is 80d4000000) in mongo::makeChunkWritable, terminating
Wed Feb 27 09:02:28 [repl writer worker 1] api.commhistory Fatal Assertion 16362
Wed Feb 27 09:02:33 [conn16840] end connection 192.168.159.29:53112 (13 connections now open)
Wed Feb 27 09:02:33 [initandlisten] connection accepted from 192.168.159.29:62053 #16842 (14 connections now open)
我試圖再次啓動它,但是,20秒後或因此它可以與以下日誌
Wed Feb 27 09:22:35 [rsBackgroundSync] replSet syncing to: MASB-MGO-MGO01:27017
Wed Feb 27 09:22:35 [rsSync] replSet still syncing, not yet to minValid optime 512dcba3:c
Wed Feb 27 09:22:36 [rsSyncNotifier] replset setting oplog notifier to MASB-MGO-MGO01:27017
Wed Feb 27 09:22:37 [rsHealthPoll] couldn't connect to MASB-MGO-RPL02:27017: couldn't connect to server MASB-MGO-RPL02:27017
Wed Feb 27 09:22:41 [rsHealthPoll] couldn't connect to MASB-MGO-RPL02:27017: couldn't connect to server MASB-MGO-RPL02:27017
Wed Feb 27 09:22:45 [rsHealthPoll] couldn't connect to MASB-MGO-RPL02:27017: couldn't connect to server MASB-MGO-RPL02:27017
Wed Feb 27 09:22:46 [repl writer worker 1] VirtualProtect for E:/MongoDB/data/api.68 chunk 10164 failed with errno:1455 The paging file is too small for this operation to complete. (chunk size is 67108864, address is 9ed0000000) in mongo::makeChunkWritable, terminating
Wed Feb 27 09:22:46 [repl writer worker 1] api.commhistory Fatal Assertion 16362
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\util\stacktrace.cpp(182) mongo::printStackTrace+0x3e
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\util\assert_util.cpp(126) mongo::fassertFailed+0x43
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\util\mmap_win.cpp(264) mongo::makeChunkWritable+0x342
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\util\mmap.h(274) mongo::MemoryMappedFile::makeWritable+0x56
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\dur_commitjob.cpp(93) mongo::dur::DurableImpl::declareWriteIntent+0x5f
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\dur.cpp(239) mongo::dur::DurableImpl::writingAtOffset+0x18
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\btree.cpp(406) mongo::BucketBasics<mongo::BtreeData_V1>::basicInsert+0xcd
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\btree.cpp(1309) mongo::BtreeBucket<mongo::BtreeData_V1>::insertHere+0xa0
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\index_insertion_continuation.h(66) mongo::IndexInsertionContinuationImpl<mongo::BtreeData_V1>::doIndexInsertionWrites+0xda
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\index_update.cpp(146) mongo::indexRecordUsingTwoSteps+0x77a
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\pdfile.cpp(1546) mongo::DataFileMgr::insert+0x845
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\pdfile.cpp(1273) mongo::DataFileMgr::insertWithObjMod+0x48
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\ops\update.cpp(203) mongo::_updateObjects+0x4c2
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\oplog.cpp(780) mongo::applyOperation_inlock+0x507
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\repl\rs_sync.cpp(84) mongo::replset::SyncTail::syncApply+0x245
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\db\repl\rs_sync.cpp(121) mongo::replset::multiSyncApply+0x65
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\mongo\util\concurrency\thread_pool.cpp(66) mongo::threadpool::Worker::loop+0x94
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe ...\src\third_party\boost\libs\thread\src\win32\thread.cpp(180) boost::`anonymous namespace'::thread_start_function+0x21
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(314) _callthreadstartex+0x17
Wed Feb 27 09:22:48 [repl writer worker 1] mongod.exe f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(292) _threadstartex+0x7f
Wed Feb 27 09:22:48 [repl writer worker 1]
***aborting after fassert() failure
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.26:64223 #17 (14 connections now open)
Wed Feb 27 09:23:44 [conn3] end connection 192.168.159.24:5105 (13 connections now open)
Wed Feb 27 09:23:44 [conn10] end connection 192.168.159.25:51584 (12 connections now open)
Wed Feb 27 09:23:44 [conn11] end connection 192.168.159.22:50242 (11 connections now open)
Wed Feb 27 09:23:44 [conn15] end connection 192.168.159.26:64205 (10 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.25:51595 #18 (11 connections now open)
Wed Feb 27 09:23:44 [conn5] end connection 192.168.159.23:54657 (9 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.24:5118 #19 (11 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.23:54671 #20 (12 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.22:50255 #21 (13 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.26:64230 #22 (14 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.26:64237 #23 (15 connections now open)
Wed Feb 27 09:23:44 [initandlisten] connection accepted from 192.168.159.25:51602 #24 (16 connections now open)
Wed Feb 27 09:23:44 [rsHealthPoll] couldn't connect to MASB-MGO-RPL02:27017: couldn't connect to server MASB-MGO-RPL02:27017
複製再次崩潰服務器信息
Operating System
Microsoft Windows Server 2008 R2 Standard 64-bit SP1
CPU
Intel Xeon E5 @ 2.60GHz
Sandy Bridge-EP/EX 32nm Technology
Intel Xeon E5 @ 2.60GHz
Sandy Bridge-EP/EX 32nm Technology
Intel Xeon E5 @ 2.60GHz
Sandy Bridge-EP/EX 32nm Technology
Intel Xeon E5 @ 2.60GHz
Sandy Bridge-EP/EX 32nm Technology
RAM
8.00 GB EDO (3-3-3-?)
有趣的部分是:「分頁文件太小,無法完成此操作。」儘管Windows不應該有這個問題。 – Sammaye 2013-03-03 13:06:28
您能否請示,當您啓動您的mongod時,您使用了哪些參數? – user 2013-03-05 14:47:25
@ConstantineNovykov:這裏是'E:\ MongoDB \ mongod.exe --replSet rs0 --oplogSize 5000 --dbpath E:\ MongoDB \ data --logpath E:\ MongoDB \ mongo.log' – VitalyB 2013-03-10 13:44:08