EF4 and DevARt 8.4.389 : temporary Locked in Devart.Common.DbConnectionPool.GetObject()
Posted: Fri 27 Apr 2018 06:25
Hello, when load testing my wcf application under load burst I make a lot of queries to db as select or insert/update.
I see I have also a lot of garbage collection and when a gc collection is launched during a query all the threads are blocked on a lock in Devart.Common.DbConnectionPool.GetObject() as they were in the middle on a opening connection phase...
I was wondering myself if there is any event launched before and after Devart.Common.DbConnectionPool.GetObject() is called so I could instruct to not let gc collection happen during this phase ?
I have already check this post : https://forums.devart.com/viewtopic.ph ... t=deadlock
I know I could also cancel the pooling but I am afraid that there would be a bad impact on performance...
Thank you for any help !!
I see I have also a lot of garbage collection and when a gc collection is launched during a query all the threads are blocked on a lock in Devart.Common.DbConnectionPool.GetObject() as they were in the middle on a opening connection phase...
I was wondering myself if there is any event launched before and after Devart.Common.DbConnectionPool.GetObject() is called so I could instruct to not let gc collection happen during this phase ?
I have already check this post : https://forums.devart.com/viewtopic.ph ... t=deadlock
I know I could also cancel the pooling but I am afraid that there would be a bad impact on performance...
Thank you for any help !!