mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
make serverStatus more obvious with journal
This commit is contained in:
parent
93eaf061fa
commit
0146bef876
@ -431,8 +431,10 @@ namespace mongo {
|
||||
int m = (int) (MemoryMappedFile::totalMappedLength() / ( 1024 * 1024 ));
|
||||
t.appendNumber( "mapped" , m );
|
||||
|
||||
if ( cmdLine.dur )
|
||||
if ( cmdLine.dur ) {
|
||||
m *= 2;
|
||||
t.appendNumber( "mappedWithJournal" , m );
|
||||
}
|
||||
|
||||
if( v - m > 5000 ) {
|
||||
t.append("note", "virtual minus mapped is large. could indicate a memory leak");
|
||||
|
Loading…
Reference in New Issue
Block a user