JBoss threads looping in KeyAffinityServiceImpl.getKeyForAddress

Solution Verified - Updated -

Issue

  • We see increased CPU with threads persisting in the following:

"ajp-localhost/127.0.0.1:8009-512" daemon prio=10 tid=0x00007f1d9c784000 nid=0x3468 waiting on condition [0x00007f1d2f9f9000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000006089540f8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197) at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214) at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290) at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:361) at org.infinispan.affinity.KeyAffinityServiceImpl.getKeyForAddress(KeyAffinityServiceImpl.java:141)

Environment

  • JBoss Enterprise Application Platform (EAP) 6.4.3 and earlier with dist mode replication

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In