Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Mongostat: replica activity but no primary activity
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin Rice  
View profile  
 More options Aug 6 2012, 6:24 pm
From: Kevin Rice <justany...@gmail.com>
Date: Mon, 6 Aug 2012 15:24:09 -0700 (PDT)
Local: Mon, Aug 6 2012 6:24 pm
Subject: Mongostat: replica activity but no primary activity

Hello!

We've a 4-sharded 2-replicaset on 4 boxes.  We shut off all reads/writes to
the db, but:

*mongostat still shows activity (inserts/deletes) on the replicas.  Why?*

            in  q  u   dele  gm  cmd    fl   mapped vsz    res     faults
   locks   idxmiss    etc.        
box1:30000   0  0  0      0   0   16     0  78.1g   169g    23g      
0        0          0       0|0     0|0     1k     9k   100 shard-00    M
box1:30200   0  0  0      0   0   15     0   116g   245g  32.2g      
0        0          0       0|0     0|0   926b     9k   102 shard-02    M
box1:40000   0  0  0      0   0    1               2.02g    30m      
0                                          62b   811b     5           RTR
box2:30100   0  0  0      0   1   16     0  74.1g   161g  36.1g      
0        0          0       0|0     1|0     1k     9k   102 shard-01    M
box2:30300   0  0  0      0   1   16     0  72.1g   157g  40.3g      
0        0          0       0|0     1|0     1k     9k   103 shard-03    M
box3:30001  *0 *0 *0    **60***   0  5|0     0   148g   304g  25.1g    
29       41          0       0|0     0|0   310b     3k    51 shard-00  SEC
box3:30201  *0 *0 *0    **56***   0  5|0     0   188g   384g  30.9g    
45     30.3          0       0|0     0|0   310b     3k    53 shard-02  SEC
box4:30101  *0 *0 *0     *0   0  6|0     0   144g   296g  34.6g      
0        0          0       0|0     0|0   455b     4k    52 shard-01  SEC
box4:30301  *0 *0 *0     *0   0  6|0     0   144g   296g  40.2g      
0        0          0       0|0     0|0   455b     4k    51 shard-03  SEC

I'm seeing in the replica's logs a lot of

Mon Aug  6 17:21:55 [conn16766] command admin.$cmd command: { getlasterror:
1, fsync: 1 } ntoreturn:1 reslen:97 110ms
Mon Aug  6 17:21:57 [conn24096] CMD fsync:  sync:1 lock:0

Where do I go to see what's going on, really?  does this 'getlasterr: 1'
mean there was an error, really?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.