- 
    Type:Bug 
- 
    Resolution: Duplicate
- 
    Priority:Critical - P2 
- 
    None
- 
    Affects Version/s: 2.4.5
- 
    Component/s: Storage
- 
    Environment:rsaudit:PRIMARY> db.serverBuildInfo()
 {
 "version" : "2.4.5",
 "gitVersion" : "a2ddc68ba7c9cee17bfe69ed840383ec3506602b",
 "sysInfo" : "windows sys.getwindowsversion(major=6, minor=1, build=7601,
 platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49",
 "loaderFlags" : "/nologo /LTCG /DEBUG /LARGEADDRESSAWARE /NODEFAULTLIB:M
 SVCPRT",
 "compilerFlags" : "/TP /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244
 /Z7 /errorReport:none /O2 /Oy- /MT /GL",
 "allocator" : "system",
 "versionArray" : [
 2,
 4,
 5,
 0
 ],
 "javascriptEngine" : "V8",
 "bits" : 64,
 "debug" : false,
 "maxBsonObjectSize" : 16777216,
 "ok" : 1
 }rsaudit:PRIMARY> db.serverBuildInfo() { "version" : "2.4.5", "gitVersion" : "a2ddc68ba7c9cee17bfe69ed840383ec3506602b", "sysInfo" : "windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49", "loaderFlags" : "/nologo /LTCG /DEBUG /LARGEADDRESSAWARE /NODEFAULTLIB:M SVCPRT", "compilerFlags" : "/TP /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244 /Z7 /errorReport:none /O2 /Oy- /MT /GL", "allocator" : "system", "versionArray" : [ 2, 4, 5, 0 ], "javascriptEngine" : "V8", "bits" : 64, "debug" : false, "maxBsonObjectSize" : 16777216, "ok" : 1 }
- 
        Windows
- 
        
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
When the database is executing a Datafilesync, I could see on logs that we have a increment in client connections to database. When datafilesync is finished, then the client connections drops to the baseline (see attached file). We see this pattern everytime that a datafilesync line is registered on the log.
I made a test when Datafilesync was in action to recieve one document from a collection (db.test.findOne()), and it took about 10 seconds.
I reviewed the following article:
http://docs.mongodb.org/manual/reference/command/fsync/
And check the following function
serverIsLocked = function () {
                     var co = db.currentOp();
                     if (co && co.fsyncLock) 
                     return false;
                 }
But when I run this function, I always see that the server is not locked.
- duplicates
- 
                    SERVER-12880 Server pauses on requests every 60 seconds -         
- Closed
 
-         
- 
                    SERVER-13444 Long locked flush without inserts and updates -         
- Closed
 
-