here is my mongo class init function contents...
cfg["mongoIpAddress"] = "127.0.0.1"
cfg["mongoPort"] = "27017"
cfg["mongoDbName"] = "xxxx"
cfg["mongoDbUser"] = "xxxxx"
cfg["mongoDbPass"] = "xxxxxx"
self.conn = Connection("mongodb://" + cfg["mongoDbUser"] + ":" + cfg["mongoDbPass"] + "@" + cfg["mongoIpAddress"] + ":" + cfg["mongoPort"] + "/" + cfg["mongoDbName"] + "?socketTimeoutMS=3000")
self.Dbase = self.conn[cfg["mongoDbName"]]
it's interesting point that we are using same functions and instance all of our project, but only this ReportRow stuff have problem like this... everything works great except that and it is not failing all the time...
there is other processes that inserts to report... we have a multi server, multitask project and it inserts data continuously...