summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2011-04-18 12:58:56 -0400
committerDwight <dwight@10gen.com>2011-04-18 12:58:56 -0400
commit32e07991c0b0ad639dae3d418d955555219c3543 (patch)
tree5f70df6cd5ff24ebf55677fd43b4a6df47e6b496 /db
parent41891d55591399d10bb011249243ca7a282cd58f (diff)
downloadmongo-32e07991c0b0ad639dae3d418d955555219c3543.tar.gz
five minutes was the intent
Diffstat (limited to 'db')
-rw-r--r--db/clientcursor.cpp2
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;