6 Replies Latest reply: Jun 13, 2012 2:59 PM by dex chen RSS

locking timeout: Unable to aquire a lock on key

dex chen Novice

With Infinispan 5.1.4.Final, I have a cache with contains 500,000 entries.

The lokcing config like this:

  <locking

         isolationLevel="READ_COMMITTED"

         lockAcquisitionTimeout="15000"

         writeSkewCheck="false"

         concurrencyLevel="500"

         useLockStriping="false"

      />

 

 

 

ERROR org.infinispan.interceptors.InvocationContextInterceptor[146] - ISPN000136: Execution error

org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [1.5 seconds] on key [5e99e7148b7e37de0e73faab26f354e73836414a] for requestor [DldGlobalTransaction{coinToss=2655070111224623118, isMarkedForRollback=false, lockIntention=5e99e7148b7e37de0e73faab26f354e73836414a, affectedKeys=[], locksAtOrigin=[]} GlobalTransaction:<null>:692754:local]! Lock held by [null]

 

What is the problem?

How do I fix this?

Thanks.