# mongo.conf # storage engine storageEngine=wiredTiger wiredTigerDirectoryForIndexes=true wiredTigerCacheSizeGB=32 # where to log logpath=/var/log/mongodb/mongod.log logappend=true # slow query treshold slowms=1000 # fork and run in background fork=true # port port=27017 # where to store data dbpath=/data/mongo/db directoryperdb=true # location of pidfile pidfilepath=/var/run/mongodb/mongod.pid # security #noauth=true auth=true keyFile=/etc/mongod/keyfile # replication options replSet=better01Set oplogSize=65536 # Enable query planner re-planning, see https://jira.mongodb.org/browse/SERVER-15225 setParameter=internalQueryCacheReplanningEnabled=true