diff options
author | Dan Pasette <dan@10gen.com> | 2015-05-06 17:59:05 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2015-05-13 00:31:03 -0400 |
commit | 564140a0aae77d6c5a959e7a2656f2fc32047930 (patch) | |
tree | 8b3c66a1b5bd270ac46f5bbafff61e3cdf9e807d /src/mongo/db | |
parent | a18c34b24d7fdbf724182d95f8e3927441d7a0da (diff) | |
download | mongo-564140a0aae77d6c5a959e7a2656f2fc32047930.tar.gz |
SERVER-18286 Increase the value of the WiredTiger close_idle_time
Set the value of close_idle_time to ~28 hours to prevent idle
collections and indexes from being forced out of cache
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp index 606f1c1e85e..1dcedb91167 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp @@ -105,6 +105,7 @@ namespace mongo { ss << "log=(enabled=true,archive=true,path=journal,compressor="; ss << wiredTigerGlobalOptions.journalCompressor << "),"; } + ss << "file_manager=(close_idle_time=100000),"; //~28 hours, will put better fix in 3.1.x ss << "checkpoint=(wait=" << wiredTigerGlobalOptions.checkpointDelaySecs; ss << ",log_size=2GB),"; ss << "statistics_log=(wait=" << wiredTigerGlobalOptions.statisticsLogDelaySecs << "),"; |