mongod lx03

List all commands | Replica set status

Commands: buildInfo cursorInfo features isMaster listDatabases replSetGetStatus serverStatus top
db version v1.8.1, pdfile version 4.5
git hash: nogitversion
sys info: Linux build27 2.6.37.1-1.4-xen #1 SMP 2011-02-21 10:34:10 +0100 x86_64 BOOST_LIB_VERSION=1_42
uptime: 1951 seconds

low level requires read lock
time to get readlock: 0ms
# databases: 10

replication: 
replInfo:  ?

--replSet sti

master: 1
slave:  0
initialSyncCompleted: 1

clients
ClientOpIdActiveLockTypeWaitingSecsRunningOpNamespaceQueryclientmsgprogress
initandlisten0W2004sti{ name: /^local.temp./ }0.0.0.0:0
snapshotthread000(NONE)
clientcursormon0R0(NONE)
websvr0R0admin.system.users(NONE)
replica set sync7204X000?ti-stats.layerads(NONE)
conn2R2004local.system.replset{ count: "system.replset", query: {} }127.0.0.1:39899
conn000(NONE)
rs Manager0W0(NONE)
conn5622202004?{ replSetHeartbeat: "sti", v: 1, pv: 1, checkEmpty: false, from: "192.168.20.30:27017" }192.168.20.30:48370
conn5620402004?{ serverStatus: 1 }127.0.0.1:39907
conn5622002004?{ replSetHeartbeat: "sti", v: 1, pv: 1, checkEmpty: false, from: "192.168.20.42:27017" }192.168.20.42:48674
conn56133W2002sti-stats.search_requests192.168.20.32:33745
conn56227XR02005local.oplog.rs192.168.20.4:54393
conn5622102004?{ replSetHeartbeat: "sti", v: 1, pv: 1, checkEmpty: false, from: "192.168.20.4:27017" }192.168.20.4:54386

dbtop (occurences|percent of elapsed)
NStotalReadsWritesQueriesGetMoresInsertsUpdatesRemoves
TOTAL1925100.3%187999.8%460.5%30.0%187699.8%80.0%380.5%00%
admin.system.users4122.0%4122.0%00%00%00%00%00%00%
local10.0%00%10.0%10.0%00%00%00%00%
local.me125.0%00%125.0%00%00%00%00%00%
local.oplog.rs187699.8%187699.8%00%20.0%187699.8%00%00%00%
local.replset.minvalid425.1%425.1%00%00%00%00%00%00%
local.system.namespaces10.0%10.0%00%10.0%00%00%00%00%
local.system.replset30.0%30.0%00%30.0%00%00%00%00%
sti10.0%00%10.0%10.0%00%00%00%00%
sti-amazon10.0%00%10.0%10.0%00%00%00%00%
sti-amazon.game-proxy90.7%90.7%00%60.3%30.4%00%00%00%
sti-amazon.products30.0%30.0%00%30.0%00%00%00%00%
sti-analytics10.0%00%10.0%10.0%00%00%00%00%
sti-messaging10.0%00%10.0%10.0%00%00%00%00%
sti-messaging.personal922.6%862.5%60.0%862.5%00%00%60.0%00%
sti-stats10.0%00%10.0%10.0%00%00%00%00%
sti-stats-topgames10.0%00%10.0%10.0%00%00%00%00%
sti-stats.game_hits100.2%00%100.2%00%00%00%100.2%00%
sti-stats.layerads280.4%00%280.4%00%00%00%280.4%00%
sti-stats.search_requests60.0%00%60.0%00%00%60.0%6130.4%00%
sti-stats.slider_clicks25856.6%00%25856.6%00%00%00%25856.6%00%
sti-toplist10.0%00%10.0%10.0%00%00%00%00%
sti-toplist.game160.6%160.6%00%160.6%00%00%00%00%
sti-trace10.0%00%10.0%10.0%00%00%00%00%
sti-trace.facebook-log40.0%00%40.0%00%00%40.0%00%00%
sti-trace.picture-import100.0%00%100.0%00%00%100.0%00%00%
sti-url10.0%00%10.0%10.0%00%00%00%00%
sti-url.repair30.0%10.0%20.0%10.0%00%00%20.0%00%
sti-watchlist10.0%00%10.0%10.0%00%00%00%00%
sti-watchlist-queue10.0%00%10.0%10.0%00%00%00%00%
sti-watchlist-queue.queue60.1%60.1%00%60.1%00%00%00%00%
sti-ws-usage10.0%00%10.0%10.0%00%00%00%00%
sti-ws-usage.requests20.0%00%20.0%00%00%20.0%00%00%

write lock % time in write lock, by 4 sec periods
0 1 0 0 1 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 1 0 1 1 0 0 0 0 2 0 0 0 0 0 0 1 1 1 0 1 1 0 0 1 0 1 1 0 0 1 0 1
write locked now: false
Log
Fri May 27 11:01:38 [websvr] web admin interface listening on port 28017
           11:01:38 [startReplSets] replSet STARTUP2
           11:01:38 [rs Manager] replSet total number of votes is even - add arbiter or give one member an extra vote
           11:01:38 [rs Manager] replSet can't see a majority, will not try to elect self
           11:01:38 [ReplSetHealthPollTask] replSet info 192.168.20.30:27017 is up
           11:01:38 [replica set sync] replSet SECONDARY
           11:01:38 [ReplSetHealthPollTask] replSet member 192.168.20.30:27017 ARBITER
           11:01:40 [ReplSetHealthPollTask] replSet info 192.168.20.4:27017 is up
           11:01:40 [ReplSetHealthPollTask] replSet member 192.168.20.4:27017 PRIMARY
           11:01:40 [ReplSetHealthPollTask] replSet info 192.168.20.42:27017 is up
           11:01:40 [ReplSetHealthPollTask] replSet member 192.168.20.42:27017 ARBITER
           11:07:48 [replica set sync] replSet syncThread: 10278 dbclient error communicating with server: 192.168.20.4:27017
           11:07:50 [ReplSetHealthPollTask] DBClientCursor::init call() failed
           11:07:50 [ReplSetHealthPollTask] replSet info 192.168.20.4:27017 is down (or slow to respond): DBClientBase::findOne: transport error: 192.168.20.4:27017 query: { replSetHeartbeat: "sti", v: 1, pv: 1, checkEmpty: false, from: "192.168.20.3:2701           11:07:50 [rs Manager] replSet info electSelf 0
           11:07:50 [rs Manager] replSet couldn't elect self, only received -9998 votes
           11:07:56 [rs Manager] replSet info electSelf 0
           11:07:56 [rs Manager] replSet PRIMARY
           11:08:12 [ReplSetHealthPollTask] replSet info 192.168.20.4:27017 is up
           11:08:12 [ReplSetHealthPollTask] replSet member 192.168.20.4:27017 SECONDARY
           11:10:03 [conn4131] killcursors: found 0 of 1
           11:18:00 [conn8040] update sti-stats.game_hits  query: { game_id: 25018, period: "2011-05-27" } 713ms
           11:20:03 [conn8943] killcursors: found 0 of 1