Coherence .NET THROWS SYSTEM.THREADING.LOCKRECURSIONEXCEPTION WITH HIGH CPU
Last updated on JULY 05, 2017
Applies to:Oracle Coherence - Version 188.8.131.52 to 184.108.40.206 [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 220.127.116.11 to 18.104.22.168. There were no other client updates. Customer was using .NET 4 version with both 22.214.171.124 and 126.96.36.199. After the upgrade to 188.8.131.52, 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms