Startup timeout and packet-delivery timeout
645229Nov 24 2009 — edited Nov 24 2009Hi,
At the moment it takes my first cluster node approximately 30 seconds to start and setting the packet-delivery timeout smaller than this means the system cannot start. I'm trying to reduce the packet-delivery setting to improve responsiveness during failover caused by hardware failures. I think 15-20 seconds would be ideal, allowing for GC pauses.
Subsequent nodes can start in a couple of seconds.
Is this a reasonable time to expect the first Coherence node in a cluster to start up? What kind of values is everyone else working with?
Thanks & Regards,
Martin
The error when packet-delivery is less than 30 seconds:
2009-11-24 13:04:05.568/24.141 Oracle Coherence GE 3.4/405 <Error> (thread=main, member=n/a): Error while starting cluster: com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
MemberSet=ServiceMemberSet(
OldestMember=n/a
ActualMemberSet=MemberSet(Size=0, BitSetCount=0
)
MemberId/ServiceVersion/ServiceJoined/ServiceLeaving
)
)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onStartupTimeout(Grid.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:27)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:38)
at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:317)
at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:7)
at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:27)
at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:951)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:748)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:710)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:919)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:277)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:689)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:667)
at com.changingworlds.datagrid.cache.Cache.init(Cache.java:111)
at com.changingworlds.datagrid.cache.Cache.initializeNamedCache(Cache.java:95)
at com.changingworlds.discovery.DiscoveryMain.initSpring(DiscoveryMain.java:201)
at com.changingworlds.discovery.DiscoveryMain.createDiscovery(DiscoveryMain.java:154)
at com.changingworlds.discovery.DiscoveryMain.main(DiscoveryMain.java:78)
Edited by: MartinMc on Nov 24, 2009 1:15 PM