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

Infispan thread freezing (STUCK) - dead lock occured

    XMLWordPrintable

Details

    • Bug
    • Status: New (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.0.4.Final
    • None
    • Core
    • None
    • Hide

      Just generate huge read/write load

      Show
      Just generate huge read/write load
    • ---
    • ---

    Description

      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.

      Attachments

        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

        Activity

          People

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

            Dates

              Created:
              Updated: