Coherence .NET THROWS SYSTEM.THREADING.LOCKRECURSIONEXCEPTION WITH HIGH CPU
(Doc ID 1516825.1)
Last updated on JULY 05, 2017
Applies to:Oracle Coherence - Version 126.96.36.199 to 188.8.131.52 [Release AS10g]
Information in this document applies to any platform.
Coherence for .NET is throwing System.Threading.LockRecursionException and utilizing High CPU. Customer recently upgraded their COH server and client dll's from 184.108.40.206 to 220.127.116.11. There were no other client updates. Customer was using .NET 4 version with both 18.104.22.168 and 22.214.171.124. After the upgrade to 126.96.36.199, they observed lot of CPU spikes on Clients and when digged deeper found the stack traces from Coherence.
Exception type: System.Threading.LockRecursionException
Message: Write lock may not be acquired with read lock held. This pattern is prone to deadlocks. Please ensure that read locks are released before taking a write lock. If an upgrade is necessary, use an upgrade lock in place of the read lock.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document