Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12423

Infispan thread freezing (STUCK) - dead lock occured


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 11.0.4.Final
    • Core
    • None
    • Hide

      Just generate huge read/write load

      Just generate huge read/write load
    • Undefined

      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.

        1. cache-configuration-jdbc.xml
          4 kB
        2. cache-configuration-jdbc.xml
          4 kB
        3. Thread dump.txt
          2.96 MB
        4. Thread dump - heap storage.txt
          1.12 MB
        5. Thread dump sync.txt
          1.22 MB

            Unassigned Unassigned
            c0ff75 Evgenii Balakhonov (Inactive)
            0 Vote for this issue
            3 Start watching this issue