6 Replies Latest reply: Apr 30, 2012 9:54 AM by Galder Zamarreño RSS

Block at containsKey() until timeout at JGroups FlowControl

Thomas Fromm Newbie



I've got 3 nodes running ISPN 5.1.2 under load, 99% of the actions are puts, removes and some containsKey operations of a DIST_SYNC cache with pessimistic transactions :-)

Sometimes one node stops working and blocks at containsKey():


"IS-8902-MThread-127" prio=10 tid=0x00007f18ec5af800 nid=0x1bd2 in Object.wait() [0x00007f18d4b48000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

    at java.lang.Object.wait(Native Method)

    at org.jgroups.protocols.FlowControl$Credit.decrementIfEnoughCredits(FlowControl.java:553)

    - locked <0x00000006e069f920> (a org.jgroups.protocols.FlowControl$Credit)

    at org.jgroups.protocols.UFC.handleDownMessage(UFC.java:114)

    at org.jgroups.protocols.FlowControl.down(FlowControl.java:341)

    at org.jgroups.protocols.FlowControl.down(FlowControl.java:351)

    at org.jgroups.protocols.FRAG2.down(FRAG2.java:147)

    at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:1033)




Any ideas what happens here and how to get around this?