MonGo tried to access invalid address

Wed Nov 27 22:02:45.547 [conn4647] DatabaseHolder::closeAll path:E:\mongo\data\db
Wed Nov 27 22:02:45.563 [conn4647] end connection I*****P:46755 (15 connections now open)
Wed Nov 27 22:02:45.563 [conn4615] MapViewOfFileEx for E:\mongo\data\db\mmsc.19failed with errno:487 attempts to access invalid address. (file size is 2146435072) in MemoryMa
ppedFile::map
Wed Nov 27 22:02:45.563 [conn4615] Fatal Assertion 16166
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\util\stacktrace.c
pp(189) mongo::printStackTrace+0x3e
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\util\assert_util.
cpp(131) mongo::fassertFailed+0x43
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\util\mmap_win.cpp
(209) mongo::MemoryMappedFile::map+0x528
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\util\mmap.cpp(88)
mongo::MemoryMappedFile::mapWithOptions+0xd6
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\pdfile.cpp(442
) mongo::MongoDataFile::openExisting+0x19a
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\database.cpp(2
05) mongo::Database::openExistingFile+0x1b9
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\database.cpp(2
30) mongo::Database::openAllFiles+0x4c
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\database.cpp(1
00) mongo::Database::Database+0x282
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\database.cpp(4
85) mongo::DatabaseHolder::getOrCreate+0x3c8
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\client.cpp(317
) mongo::Client::Context::_finishInit+0xa3
Wed Nov 27 22:02:46.795 [conn4615] mongod.exe ...\src\mongo\db\client.cpp(225







Application of terminal two timing of job operation, a data warehousing, storage after performing cleanup memory; another is to get all collections, selective drop and index. The two job is the interval 10min, intermediate stagger, if executed at the same time will go wrong, now is the two run 12 hours later will go wrong, Mongo directly to die, but not parallel.

Started by Pete at December 17, 2016 - 4:01 AM

Whether to release the memory operation can be frequently executed?
use admin;
db.runCommand({closeAllDatabases:1});

Posted by Pete at December 31, 2016 - 4:08 AM