5 Replies Latest reply on Mar 23, 2015 7:06 AM by valsaraj007

    Lock issue with cluster

    valsaraj007

      Hi,

       

      I have seen following error in log of a server in my domain mode cluster:

      ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-9) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [DfhYaYgkR9P_5qtyWnETnwQf] for requestor [GlobalTransaction:<node-10/web>:172:local]! Lock held by [GlobalTransaction:<node-10/web>:170:local]

       

      Here is infinispan conf:

      <subsystem xmlns="urn:jboss:domain:infinispan:2.0">

                      <cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">

                          <local-cache name="passivation" batching="true">

                              <file-store passivation="true" purge="false"/>

                          </local-cache>

                          <local-cache name="persistent" batching="true">

                              <file-store passivation="false" purge="false"/>

                          </local-cache>

                      </cache-container>

                      <cache-container name="ejb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan" aliases="sfsb">

                          <local-cache name="passivation" batching="true">

                              <file-store passivation="true" purge="false"/>

                          </local-cache>

                          <local-cache name="persistent" batching="true">

                              <file-store passivation="false" purge="false"/>

                          </local-cache>

                      </cache-container>

                      <cache-container name="hibernate" default-cache="local-query" module="org.hibernate">

                          <local-cache name="entity">

                              <transaction mode="NON_XA"/>

                              <eviction strategy="LRU" max-entries="10000"/>

                              <expiration max-idle="100000"/>

                          </local-cache>

                          <local-cache name="local-query">

                              <transaction mode="NONE"/>

                              <eviction strategy="LRU" max-entries="10000"/>

                              <expiration max-idle="100000"/>

                          </local-cache>

                          <local-cache name="timestamps">

                              <transaction mode="NONE"/>

                              <eviction strategy="NONE"/>

                          </local-cache>

                      </cache-container>

                  </subsystem>

       

      What may be wrong? Is this harmful?

       

      Thanks!