Skip to content

Instantly share code, notes, and snippets.

@cig0
Last active February 15, 2016 02:02
Show Gist options
  • Select an option

  • Save cig0/60d87d19fb29768548c2 to your computer and use it in GitHub Desktop.

Select an option

Save cig0/60d87d19fb29768548c2 to your computer and use it in GitHub Desktop.
/etc/mongod.conf - Percona Server for MongoDB 2.6 mmap
# mongod.conf, Percona Server for MongoDB
# for documentation of all options, see:
# http://docs.mongo.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /var/lib/mongo
journal:
enabled: true
# engine: mmapv1
# engine: PerconaFT
# engine: rocksdb
engine: wiredTiger
# Storage engine various options
# mmapv1:
wiredTiger:
engineConfig:
cacheSizeGB: 2
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongo/mongod.log
processManagement:
fork: true
pidFilePath: /var/run/mongod.pid
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment