Advertisement
Guest User

mongod.conf

a guest
Jun 14th, 2013
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.72 KB | None | 0 0
  1. % cat /etc/mongod.conf
  2. # mongo.conf
  3.  
  4. #where to log
  5. logpath=/var/log/mongo/mongod.log
  6.  
  7. logappend=true
  8.  
  9. # fork and run in background
  10. fork = true
  11.  
  12. #port = 27017
  13.  
  14. dbpath=/var/lib/mongo
  15.  
  16. # location of pidfile
  17. pidfilepath = /var/run/mongodb/mongod.pid
  18.  
  19. # Disables write-ahead journaling
  20. # nojournal = true
  21.  
  22. # Enables periodic logging of CPU utilization and I/O wait
  23. #cpu = true
  24.  
  25. # Turn on/off security.  Off is currently the default
  26. #noauth = true
  27. #auth = true
  28.  
  29. # Verbose logging output.
  30. #verbose = true
  31.  
  32. # Inspect all client data for validity on receipt (useful for
  33. # developing drivers)
  34. #objcheck = true
  35.  
  36. # Enable db quota management
  37. #quota = true
  38.  
  39. # Set oplogging level where n is
  40. #   0=off (default)
  41. #   1=W
  42. #   2=R
  43. #   3=both
  44. #   7=W+some reads
  45. #diaglog = 0
  46.  
  47. # Ignore query hints
  48. #nohints = true
  49.  
  50. # Disable the HTTP interface (Defaults to localhost:27018).
  51. #nohttpinterface = true
  52.  
  53. # Turns off server-side scripting.  This will result in greatly limited
  54. # functionality
  55. #noscripting = true
  56.  
  57. # Turns off table scans.  Any query that would do a table scan fails.
  58. #notablescan = true
  59.  
  60. # Disable data file preallocation.
  61. #noprealloc = true
  62.  
  63. # Specify .ns file size for new databases.
  64. # nssize = <size>
  65.  
  66. # Accout token for Mongo monitoring server.
  67. #mms-token = <token>
  68.  
  69. # Server name for Mongo monitoring server.
  70. #mms-name = <server-name>
  71.  
  72. # Ping interval for Mongo monitoring server.
  73. #mms-interval = <seconds>
  74.  
  75. # Replication Options
  76.  
  77. # in replicated mongo databases, specify here whether this is a slave or master
  78. #slave = true
  79. #source = master.example.com
  80. # Slave only: specify a single database to replicate
  81. #only = master.example.com
  82. # or
  83. #master = true
  84. #source = slave.example.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement