My problem:
ActiveMQ hangs yesterday, i could not open web-interface, consumers could
not connect to broker.
After restarting ActiveMQ all works well. 
We use ActiveMQ Version 5.10.1. Uptime before this problem was more than 60
days. 60 days ago was last settings changing and we don't have such problems
before.
We use written in php producers and consumers. Some producers and consumers
work with persistence messages, and some with non-persistence (this messages
contains log-info).
Consumers and producers connect to ActiveMQ via stomp protocol implemented
by this library: https://github.com/centraldesktop/php-stomp (By the way,
what is the best tool for producing and consuming messages from php? With
keep-alive and etc?)

And in ActiveMQ logs i see such messages:

2016-03-26 02:16:19,552 | ERROR | Could not accept connection :
java.lang.Exception: java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server
Thread Handler:
stomp://127.0.0.1:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2016-03-26 02:17:37,002 | ERROR | Could not accept connection :
java.lang.Exception: java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server
Thread Handler:
stomp://127.0.0.1:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2016-03-26 02:17:37,794 | WARN  | Failed to register MBean
org.apache.activemq:type=Broker,brokerName=localhost,endpoint=dynamicProducer,clientId=ID_host-4265-1453350583818-4_795037,producerId=ID_host-4265-1453350583818-4_795037_-1_1
| org.apache.activemq.broker.jmx.ManagedRegionBroker | ActiveMQ Transport:
tcp:///127.0.0.1:32482@61613
2016-03-26 02:18:30,999 | ERROR | Could not accept connection :
java.lang.Exception: java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server
Thread Handler:
stomp://127.0.0.1:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2016-03-26 02:18:37,485 | WARN  | Exception occurred processing: 
CONNECT
host:127.0.0.1
accept-version:1.0,1.1,1.2
passcode:*****
login:login

: java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.transport.stomp.ProtocolConverter | ActiveMQ Transport:
tcp:///127.0.0.1:32482@61613
2016-03-26 02:21:10,769 | ERROR | Could not accept connection :
java.lang.Exception: java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server
Thread Handler:
stomp://127.0.0.1:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2016-03-26 02:21:10,769 | WARN  | Transport Connection to:
tcp://127.0.0.1:32482 failed: java.io.IOException: Unexpected error occured:
java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:32482@61613
2016-03-26 02:21:50,985 | ERROR | Could not accept connection :
java.lang.Exception: java.lang.OutOfMemoryError: Java heap space |
org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server
Thread Handler:
stomp://127.0.0.1:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600


Can you please guide me, what could happen, why and what i should do that
this does not happen again?



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-hangs-and-i-don-t-understand-why-tp4709963.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to