Hi Masters I'd used the activemq(ver 5.14) and found one issue recently. It is that our cluster should rebuild at morning by some unkown reasons. I'd check it at our furom and found some info to change the value of " zkSessionTimeout" from 2s to 3s. But it seem that it wasn‘t changed. Could you help us? ENV :1. Activemq (ver 5.14) : one cluster with 3 nodes and used levelDB.2. Zookeeper : one cluster with 3 nodes and used default values of parameters. -----------------------------------------------------------------------------------------------------------Configure Infoactivemq.xml:..... .......zk.cfg:# The number of milliseconds of each ticktickTime=2000# The number of ticks that the initial # synchronization phase can takeinitLimit=5# The number of ticks that can pass between # sending a request and getting an acknowledgementsyncLimit=2# the directory where the snapshot is stored.# do not use /tmp for storage, /tmp here is just # example sakes.dataDir=/data/zkdata# the port at which the clients will connectclientPort=2181-----------------------------------------------------------------------------------------------------------Activemq logs................2019-03-08 03:41:47,242 | INFO | Client session timed out, have not heard from server in 2667ms for sessionid 0x363dad4833b0076, closing socket connection and attempting reconnect | org.apache.zookeeper.ClientCnxn | main-SendThread(10.10.2.91:2181)2019-03-08 03:41:47,343 | INFO | Demoted to slave | org.apache.activemq.leveldb.replicated.MasterElector | ZooKeeper state change dispatcher thread2019-03-08 03:41:47,343 | INFO | Apache ActiveMQ 5.14.0 (replicating-broker, ID:35913-1551073599767-0:4) is shutting down | org.apache.activemq.broker.BrokerService | ActiveMQ BrokerService[replicating-broker] Task-10442019-03-08 03:41:47,392 | INFO | Stopped LevelDB[/usr/local/activemq5/data/leveldb] | org.apache.activemq.leveldb.LevelDBStore | ActiveMQ BrokerService[replicating-broker] Task-10432019-03-08 03:41:47,393 | INFO | Master stopped | org.apache.activemq.leveldb.replicated.MasterElector | ActiveMQ BrokerService[replicating-broker] Task-10432019-03-08 03:41:47,403 | INFO | Connector openwire stopped | org.apache.activemq.broker.TransportConnector | ActiveMQ BrokerService[replicating-broker] Task-10442019-03-08 03:41:47,406 | INFO | StateChangeDispatcher terminated. | org.apache.activemq.leveldb.replicated.groups.ZKClient | ZooKeeper state change dispatcher thread2019-03-08 03:41:47,677 | INFO | Session: 0x363dad4833b0076 closed | org.apache.zookeeper.ZooKeeper | ActiveMQ BrokerService[replicating-broker] Task-10442019-03-08 03:41:47,678 | INFO | EventThread shut down | org.apache.zookeeper.ClientCnxn | main-EventThread2019-03-08 03:41:47,679 | INFO | Apache ActiveMQ 5.14.0 (replicating-broker, ID:35913-1551073599767-0:4) uptime 2 days 23 hours | org.apache.activemq.broker.BrokerService | ActiveMQ BrokerService[replicating-broker] Task-10442019-03-08 03:41:47,679 | INFO | Apache ActiveMQ 5.14.0 (replicating-broker, ID:35913-1551073599767-0:4) is shutdown | org.apache.activemq.broker.BrokerService | ActiveMQ BrokerService[replicating-broker] Task-10442019-03-08 03:41:47,680 | INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@74114f8d: startup date [Tue Mar 05 03:55:38 CST 2019]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | ActiveMQ BrokerService[replicating-broker] Task-10442019-03-08 03:41:47,686 | INFO | Destroying Spring FrameworkServlet 'dispatcher' | /admin | ActiveMQ BrokerService[replicating-broker] Task-1044..... So, did i make some mistake at configure ?
-- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html