After going through logs i found out this error
//root@ip-10-10-101-243 ec2-user]# sed -n ‘/2025-04-06T02:20:28.700+00:00/,/2025-04-06T02:20:20/p’ /mongodb/log/mongod.log
{“t”:{“$date”:“2025-04-06T02:20:28.700+00:00”},“s”:“I”, “c”:“COMMAND”, “id”:20499, “ctx”:“ftdc”,“msg”:“serverStatus was very slow”,“attr”:{“timeStats”:{“after basic”:0,“after activeIndexBuilds”:0,“after asserts”:0,“after batchedDeletes”:0,“after bucketCatalog”:0,“after catalogStats”:0,“after connections”:0,“after electionMetrics”:0,“after extra_info”:0,“after flowControl”:0,“after globalLock”:0,“after indexBulkBuilder”:0,“after indexStats”:0,“after locks”:0,“after logicalSessionRecordCache”:0,“after mirroredReads”:0,“after network”:0,“after opLatencies”:0,“after opcounters”:0,“after opcountersRepl”:0,“after oplog”:0,“after oplogTruncation”:0,“after readConcernCounters”:0,“after repl”:0,“after scramCache”:0,“after security”:0,“after storageEngine”:0,“after tcmalloc”:10699,“after tenantMigrations”:10699,“after trafficRecording”:10699,“after transactions”:10699,“after transportSecurity”:10699,“after twoPhaseCommitCoordinator”:10699,“after wiredTiger”:10699,“at end”:10700}}}
{“t”:{“$date”:“2025-04-06T02:20:41.373+00:00”},“s”:“I”, “c”:“NETWORK”, “id”:22943, “ctx”:“listener”,“msg”:“Connection accepted”,“attr”:{“remote”:“10.10.111.108:48920”,“uuid”:“4bf4b259-891c-47d5-8d96-2b39bb6077ed”,“connectionId”:7319,“connectionCount”:186}}
{“t”:{“$date”:“2025-04-06T02:20:41.375+00:00”},“s”:“I”, “c”:“NETWORK”, “id”:51800, “ctx”:“conn7319”,“msg”:“client metadata”,“attr”:{“remote”:“10.10.111.108:48920”,“client”:“conn7319”,“doc”:{“application”:{“name”:“publish.downloadinfocount”},“driver”:{“name”:“mongo-csharp-driver”,“version”:“2.27.0”},“os”:{“type”:“Linux”,“name”:“Debian GNU/Linux 12 (bookworm)”,“architecture”:“x86_64”},“platform”:“.NET 8.0.14”}}}
{“t”:{“$date”:“2025-04-06T02:20:41.438+00:00”},“s”:“I”, “c”:“NETWORK”, “id”:22943, “ctx”:“listener”,“msg”:“Connection accepted”,“attr”:{“remote”:“10.10.111.108:48928”,“uuid”:“496ad60e-6674-4300-8d47-b23c26e7088b”,“connectionId”:7320,“connectionCount”:187}}
I research about it ,it seems to be a issue of resource but when i check resource utilization it was not even 50% of my ec2 and its volume ? pls help me to resolve this issue with my mongodb replica