1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mongo replication lag slowly increasing

Discussion in 'Programming/Internet' started by Abhishek Kumar, Oct 8, 2018.

  1. I am running a replica-set in production with slaveOk = false using mongo 2.0.7 in AWS The replication lag on one of the servers is close to 58 hours. This replication lag is sometimes decreasing ( at very slow rate ) and sometimes increasing, but overall its lag is increasing 1-2 hours per day.

    • I restarted the server, but seeing no benefit
    • The read rate is 10 times of the read rate, compared to the other secondaries.
    • I checked the logs, but nothing weird
    • The lock % is very high ( close to 100% ) only on that server( and there is no such issues with the capped collection ). Other secondaries hardly have 10-20 lock%

    One more weird thing that I noted about this server ( secondary ) is that mms is showing the version to be 2.2.1 and type as 'standalone' server, which is not the case ( cross checked using db.version() and rs.status() command )

    Login To add answer/comment
     

Share This Page