Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Created September 20, 2011 13:49
Show Gist options
  • Save kwilczynski/1229102 to your computer and use it in GitHub Desktop.
Save kwilczynski/1229102 to your computer and use it in GitHub Desktop.
MongoDB issues
dbpath=/var/lib/mongodb
directoryperdb=true
replSet=test
oplogSize=10
fork=false
journal=true
objcheck=false
autoresync=true
fastsync=true
nohints=true
noscripting=false
notablescan=false
noprealloc=false
quota=false
nssize=32
bind_ip=127.0.0.1,127.0.1.1
port=27017
maxConns=8192
#unixSocketPrefix=/var/run
#pidfilepath=/var/run/mongodb.pid
noauth=true
auth=false
#keyFile=/var/lib/mongodb/test.secret
logpath=/var/log/mongodb/mongodb.log
logappend=true
cpu=true
verbose=false
#diaglog=3
nohttpinterface=true
rest=false
jsonp=false
warning: remove or comment out this line by starting it with '#', skipping now : fork=false
warning: remove or comment out this line by starting it with '#', skipping now : objcheck=false
warning "fastsync" should not be put in your configuration file
warning: remove or comment out this line by starting it with '#', skipping now : noscripting=false
warning: remove or comment out this line by starting it with '#', skipping now : notablescan=false
warning: remove or comment out this line by starting it with '#', skipping now : noprealloc=false
warning: remove or comment out this line by starting it with '#', skipping now : quota=false
warning: remove or comment out this line by starting it with '#', skipping now : auth=false
warning: remove or comment out this line by starting it with '#', skipping now : verbose=false
warning: remove or comment out this line by starting it with '#', skipping now : rest=false
warning: remove or comment out this line by starting it with '#', skipping now : jsonp=false
Tue Sep 20 10:37:28 --autoresync is not used with --replSet
Tue Sep 20 13:07:13 [rsHealthPoll] DBClientCursor::init call() failed
Tue Sep 20 13:07:13 [rsHealthPoll] replSet info 10.108.12.178:27017 is down (or slow to respond): DBClientBase::findN: transport error: 10.108.12.178:27017 query: { replSetHeartbeat: "portal", v: 1, pv: 1, checkEmpty: false, from: "10.108.12.179:27017" }
Tue Sep 20 13:07:13 [rsHealthPoll] replSet member 10.108.12.178:27017 is now in state DOWN
Tue Sep 20 13:07:13 [snapshotthread] cpu: elapsed:4001 writelock: 0%
Tue Sep 20 13:07:15 [rsHealthPoll] replSet info member 10.108.12.178:27017 is up
Tue Sep 20 13:07:15 [rsHealthPoll] replSet member 10.108.12.178:27017 is now in state PRIMARY
Tue Sep 20 13:07:15 [initandlisten] connection accepted from 10.108.12.178:42315 #17
Tue Sep 20 13:07:17 [conn16] end connection 10.108.12.178:51186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment