Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

MongoDB read thread blocked on driver

Hi,

Mongodb read blocked mostly in following stack trace Hashtable and no mongodb query running in MongoDB Database. It is blocked only in mongodb driver side. This blocked threads released approximately 20 min. Please help us on this.

java.util.Hashtable.get(Hashtable.java:492)
 java.lang.Class.lookupCachedConstructors(Class.java:3412)
 java.lang.Class.getConstructors(Class.java:555)
 org.springframework.data.mapping.model.ClassGeneratingPropertyAccessorFactory.getPropertyAccessor(ClassGeneratingPropertyAccessorFactory.java:84)
 org.springframework.data.mapping.model.BasicPersistentEntity.getPropertyAccessor(BasicPersistentEntity.java:425)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:254)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:232)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.readCollectionOrArray(MappingMongoConverter.java:906)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.readValue(MappingMongoConverter.java:1195)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.access$200(MappingMongoConverter.java:79)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$MongoDbPropertyValueProvider.getPropertyValue(MappingMongoConverter.java:1145)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.getValueInternal(MappingMongoConverter.java:871)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$1.doWithPersistentProperty(MappingMongoConverter.java:284)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$1.doWithPersistentProperty(MappingMongoConverter.java:272)
 org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:330)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:272)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:232)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.readMap(MappingMongoConverter.java:954)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:218)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.readValue(MappingMongoConverter.java:1197)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.access$200(MappingMongoConverter.java:79)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$MongoDbPropertyValueProvider.getPropertyValue(MappingMongoConverter.java:1145)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.getValueInternal(MappingMongoConverter.java:871)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$1.doWithPersistentProperty(MappingMongoConverter.java:284)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$1.doWithPersistentProperty(MappingMongoConverter.java:272)
 org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:330)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:272)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:232)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.readValue(MappingMongoConverter.java:1197)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.access$200(MappingMongoConverter.java:79)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$MongoDbPropertyValueProvider.getPropertyValue(MappingMongoConverter.java:1145)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.getValueInternal(MappingMongoConverter.java:871)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$1.doWithPersistentProperty(MappingMongoConverter.java:284)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter$1.doWithPersistentProperty(MappingMongoConverter.java:272)
 org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:330)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:272)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:232)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:192)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:188)
 org.springframework.data.mongodb.core.convert.MappingMongoConverter.read(MappingMongoConverter.java:79)
 org.springframework.data.mongodb.core.MongoTemplate$ReadDbObjectCallback.doWith(MongoTemplate.java:2269)
 org.springframework.data.mongodb.core.MongoTemplate.executeFindOneInternal(MongoTemplate.java:1901)
 org.springframework.data.mongodb.core.MongoTemplate.doFindOne(MongoTemplate.java:1712)
 org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:586)
 org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:581)
 in.rishoncomm.db.access.DBOpMongo.findOne(DBOpMongo.java:148)
 in.rishoncomm.db.access.DBOpMongo.getObject(DBOpMongo.java:183)
 in.rishoncomm.db.access.DBOperation.getObject(DBOperation.java:48)
 in.rishoncomm.gen.objectStore.ObjectStore.getObject(ObjectStore.java:426)
 in.rishoncomm.gen.objectStore.ObjectStore.getOneObject(ObjectStore.java:430)
 in.rishoncomm.gen.objectStore.ObjectStore.getObject(ObjectStore.java:422)
 in.rishoncomm.gen.objectStore.ObjectStore.getObject(ObjectStore.java:89)
 in.rishoncomm.gen.objectStore.ObjectStore.getObject(ObjectStore.java:64)
 in.rishoncomm.fms.messaging.FMPM_ObjInfo.getFMObjectNoExceptionNoLock(FMPM_ObjInfo.java:201)
 in.rishoncomm.fms.process.fsms.TriggerRootCauseIdentifier.executeFSM(TriggerRootCauseIdentifier.java:104)
 in.rishoncomm.fms.process.fsms.TriggerRootCauseIdentifier.execute(TriggerRootCauseIdentifier.java:37)
 in.rishoncomm.fms.process.Impl.FM_CorrelationProcess.execute(FM_CorrelationProcess.java:217)
 in.rishoncomm.fms.process.FMProcessMain.executeAllProcess(FMProcessMain.java:556)
 in.rishoncomm.fms.process.FMProcessMain.execute(FMProcessMain.java:517)
 in.rishoncomm.fms.process.FMProcessMain$ProcessMessage.run(FMProcessMain.java:323)
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:483)
 java.util.concurrent.FutureTask.run(FutureTask.java:274)
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:190)
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1164)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:634)
 java.lang.Thread.run(Thread.java:809)