[infinispan-dev] state transfer timed out, where to configure?

Dan Berindei dan.berindei at gmail.com
Tue Feb 3 06:32:12 EST 2015


Hi Andreas

Yes, that's the one. 1200s sounds like a huge timeout, though, how big is
your cache?

Cheers
Dan


On Thu, Jan 29, 2015 at 7:25 PM, Andreas Kruthoff <
andreas.kruthoff at nexustelecom.com> wrote:

> Hi dev
>
>
> I'm running into the following exception on the 3rd node out of 2.
> Distributed cluster, file store with a few millions of entries.
>
> The 3rd node times out during startup, I think. "Initial state transfer
> timed out". How can I configure/increase the timeout in my infinispan.xml?
>
> Is it <state-transfer timeout="1200000"/> within <distributed cache/> ?
>
>
> thanks for help
>
> -andreas
>
>
> Exception in thread "main" org.infinispan.commons.CacheException: Unable
> to invoke method public void
>
> org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete()
> th
> rows java.lang.InterruptedException on object of type
> StateTransferManagerImpl
>          at
>
> org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:170)
>          at
>
> org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
>          at
>
> org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
>          at
>
> org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
>          at
>
> org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
>          at
>
> org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:216)
>          at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:813)
>          at
>
> org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:584)
>          at
>
> org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:539)
>          at
>
> org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:416)
>          at ch.nexustelecom.lbd.engine.ImeiCache.init(ImeiCache.java:49)
>          at
>
> ch.nexustelecom.dexclient.engine.DefaultDexClientEngine.init(DefaultDexClientEngine.java:120)
>          at
> ch.nexustelecom.dexclient.DexClient.initClient(DexClient.java:169)
>          at
>
> ch.nexustelecom.dexclient.tool.DexClientManager.startup(DexClientManager.java:196)
>          at
>
> ch.nexustelecom.dexclient.tool.DexClientManager.main(DexClientManager.java:83)
> Caused by: org.infinispan.commons.CacheException: Initial state transfer
> timed out for cache infinicache-lbd-imei on m4sxhpsrm672-11986
>          at
>
> org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:216)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>          at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:606)
>          at
>
> org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
>          ... 14 more
>
> This email and any attachment may contain confidential information which
> is intended for use only by the addressee(s) named above. If you received
> this email by mistake, please notify the sender immediately, and delete the
> email from your system. You are prohibited from copying, disseminating or
> otherwise using the email or any attachment.
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20150203/869d8197/attachment.html 


More information about the infinispan-dev mailing list