]
Will Burns commented on ISPN-12423:
-----------------------------------
Also another question is do you use any listeners in your code? More specifically an
eviction listener?
Infispan thread freezing (STUCK) - dead lock occured
----------------------------------------------------
Key: ISPN-12423
URL:
https://issues.redhat.com/browse/ISPN-12423
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 11.0.4.Final
Reporter: Evgenii Balakhonov
Priority: Major
Attachments: Thread dump - heap storage.txt, Thread dump sync.txt, Thread
dump.txt, cache-configuration-jdbc.xml, cache-configuration-jdbc.xml
During huge load some threads hangs on
java.lang.Thread.State: WAITING (parking)
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000005d2e654a8> (a
java.util.concurrent.locks.StampedLock)
at java.util.concurrent.locks.StampedLock.acquireRead(StampedLock.java:1215)
at java.util.concurrent.locks.StampedLock.readLock(StampedLock.java:428)
at
org.infinispan.container.offheap.OffHeapConcurrentMap.peekOrGet(OffHeapConcurrentMap.java:615)
at
org.infinispan.container.offheap.OffHeapConcurrentMap.peek(OffHeapConcurrentMap.java:682)
I attached Infinispan configuration and three thread dumps:
* off heap storage enabled (Thread dump.txt)
* heap storage enabled (Thread dump - heap storage.txt)
* off heap storage enabled and replicated cache mode="SYNC" (thread dump
sync.txt)
Under high load, Infinspan freezes 100% of the cases.