diff options
author | Dwight <dwight@10gen.com> | 2011-04-18 12:58:56 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2011-04-18 12:58:56 -0400 |
commit | 32e07991c0b0ad639dae3d418d955555219c3543 (patch) | |
tree | 5f70df6cd5ff24ebf55677fd43b4a6df47e6b496 /db | |
parent | 41891d55591399d10bb011249243ca7a282cd58f (diff) | |
download | mongo-32e07991c0b0ad639dae3d418d955555219c3543.tar.gz |
five minutes was the intent
Diffstat (limited to 'db')
-rw-r--r-- | db/clientcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/clientcursor.cpp b/db/clientcursor.cpp index 0de901b9d7d..788ca335374 100644 --- a/db/clientcursor.cpp +++ b/db/clientcursor.cpp @@ -547,7 +547,7 @@ namespace mongo { m.res = p.getResidentSize(); m.virt = p.getVirtualMemorySize(); m.mapped = (int) (MemoryMappedFile::totalMappedLength() / ( 1024 * 1024 )); - if( time(0)-last >= 5000 || m.grew(mlast) ) { + if( time(0)-last >= 300 || m.grew(mlast) ) { log() << "mem (MB) res:" << m.res << " virt:" << m.virt << " mapped:" << m.mapped << endl; if( m.virt - (cmdLine.dur?2:1)*m.mapped > 5000 ) { ONCE log() << "warning virtual/mapped memory differential is large. journaling:" << cmdLine.dur << endl; |