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

Infispan thread freezing (STUCK) - dead lock occured

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      Just generate huge read/write load

      Show
      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. Thread dump sync.txt
          1.22 MB
        2. Thread dump - heap storage.txt
          1.12 MB
        3. Thread dump.txt
          2.96 MB
        4. cache-configuration-jdbc.xml
          4 kB
        5. cache-configuration-jdbc.xml
          4 kB

              Unassigned Unassigned
              c0ff75 Evgenii Balakhonov (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: