Its most certainly something external that tells the broker to shutdown. Are you sure no other users have a script running that would send a TERM signal to the broker?
If you're running on Linux, is it possible that the OOM killer kicks in? http://lwn.net/Articles/317814/ Regards, Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On Oct 28, 2012, at 2:17 AM, ndmigration wrote: > Hello, > > I have set up two brokers in different machine. Strangely, the activeMQ in > the bigger machine (more cpu, and RAM) shutting down approximately every 36 > hours. However, this is not happening on the other machine. Please suggest > what could be the reason? > > Version: 5.7 > > Logs: > > 2012-10-25 05:01:59,779 | INFO | Refreshing > org.apache.activemq.xbean.XBeanBrokerFactory$1@133c0a8a: startup date [Thu > Oct 25 05:01:59 PDT 2012]; root of context hierarchy | > org.apache.activemq.xbean.XBeanBrokerFactory$1 | main > 2012-10-25 05:02:02,769 | INFO | > PListStore:[/opt/apache-activemq-5.7.0/data/ESBDEVMQ/tmp_storage] started | > org.apache.activemq.store.kahadb.plist.PListStore | main > 2012-10-25 05:02:03,163 | INFO | Using Persistence Adapter: > KahaDBPersistenceAdapter[/opt/apache-activemq-5.7.0/data/kahadb] | > org.apache.activemq.broker.BrokerService | main > 2012-10-25 05:02:03,186 | INFO | JMX consoles can connect to > service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi | > org.apache.activemq.broker.jmx.ManagementContext | JMX connector > 2012-10-25 05:02:03,554 | INFO | Apache ActiveMQ 5.7.0 (ESBDEVMQ, ESBDEV) > is starting | org.apache.activemq.broker.BrokerService | main > 2012-10-25 05:02:03,633 | INFO | Listening for connections at: > nio://esb-dev:61616 | > org.apache.activemq.transport.TransportServerThreadSupport | main > 2012-10-25 05:02:03,635 | INFO | Connector openwire Started | > org.apache.activemq.broker.TransportConnector | main > 2012-10-25 05:02:03,643 | INFO | Apache ActiveMQ 5.7.0 (ESBDEVMQ, ESBDEV) > started | org.apache.activemq.broker.BrokerService | main > 2012-10-25 05:02:03,643 | INFO | For help or more information please see: > http://activemq.apache.org | org.apache.activemq.broker.BrokerService | main > 2012-10-25 05:02:03,875 | INFO | jetty-7.6.7.v20120910 | > org.eclipse.jetty.server.Server | main > 2012-10-25 05:02:04,406 | INFO | ActiveMQ WebConsole initialized. | > org.apache.activemq.web.WebConsoleStarter | main > 2012-10-25 05:02:04,407 | INFO | started > o.e.j.w.WebAppContext{/admin,file:/opt/apache-activemq-5.7.0/webapps/admin/} > | org.eclipse.jetty.server.handler.ContextHandler | main > 2012-10-25 05:02:04,516 | INFO | Initializing Spring FrameworkServlet > 'dispatcher' | /admin | main > 2012-10-25 05:02:05,101 | INFO | ActiveMQ Console at > http://0.0.0.0:8161/admin | org.eclipse.jetty.webapp.WebAppContext | main > 2012-10-25 05:02:05,176 | INFO | started > o.e.j.w.WebAppContext{/demo,file:/opt/apache-activemq-5.7.0/webapps/demo/} | > org.eclipse.jetty.server.handler.ContextHandler | main > 2012-10-25 05:02:05,237 | INFO | Apache ActiveMQ Web Demo at > http://0.0.0.0:8161/demo | org.eclipse.jetty.webapp.WebAppContext | main > 2012-10-25 05:02:05,300 | INFO | started > o.e.j.w.WebAppContext{/fileserver,file:/opt/apache-activemq-5.7.0/webapps/fileserver/} > | org.eclipse.jetty.server.handler.ContextHandler | main > 2012-10-25 05:02:05,358 | INFO | RESTful file access application at > http://0.0.0.0:8161/fileserver | org.eclipse.jetty.webapp.WebAppContext | > main > 2012-10-25 05:02:05,395 | INFO | Started > SelectChannelConnector@0.0.0.0:8161 | > org.eclipse.jetty.server.AbstractConnector | main > 2012-10-25 13:47:09,558 | WARN | Transport Connection to: > tcp://172.21.30.1:34852 failed: > org.apache.activemq.transport.InactivityIOException: Channel was inactive > for too (>30000) long: tcp://172.21.30.1:34852 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > InactivityMonitor Worker > 2012-10-25 13:48:23,580 | WARN | Transport Connection to: > tcp://172.21.30.1:34909 failed: java.io.IOException: Connection reset by > peer | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > NIO Worker 169 > 2012-10-25 14:09:48,240 | WARN | Transport Connection to: > tcp://172.21.30.1:34931 failed: java.io.IOException: Connection reset by > peer | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > NIO Worker 172 > 2012-10-26 10:02:18,181 | WARN | Transport Connection to: > tcp://172.21.30.1:34983 failed: > org.apache.activemq.transport.InactivityIOException: Channel was inactive > for too (>30000) long: tcp://172.21.30.1:34983 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > InactivityMonitor Worker > 2012-10-26 12:27:05,743 | WARN | Transport Connection to: > tcp://172.21.30.1:35081 failed: > org.apache.activemq.transport.InactivityIOException: Channel was inactive > for too (>30000) long: tcp://172.21.30.1:35081 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > InactivityMonitor Worker > 2012-10-26 12:46:21,811 | WARN | Transport Connection to: > tcp://172.21.30.1:35152 failed: java.io.IOException: Connection reset by > peer | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > NIO Worker 742 > 2012-10-26 15:34:29,619 | WARN | Broker localhost not started so using > ESBDEVMQ instead | org.apache.activemq.broker.BrokerRegistry | > qtp1072655760-33 > 2012-10-26 15:34:29,624 | INFO | Connector vm://localhost Started | > org.apache.activemq.broker.TransportConnector | qtp1072655760-33 > 2012-10-26 16:31:53,685 | INFO | Apache ActiveMQ 5.7.0 (ESBDEVMQ, ESBDEV) > is shutting down | org.apache.activemq.broker.BrokerService | Thread-17 > > Thanks, > Ragu > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Shuts-Down-ItSelf-tp4658355.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.