I've been dealing with this issue for the past few days and can't seem to get around it. Our broker was running fine for several weeks, but recently it dies about 5-6 times a day. I was using 5.0.0, but recently upgraded to 5.1.0, but the crashes are about the same between both versions.
Previously, I was running into "Could not accept connection : Too many open files errors". I've upped the ulimit for our activemq user that is running the broker, and now I am receiving the following errors before it dies: WARN ManagedTransportConnection - Failed to register MBean: org.apache.activemq:BrokerName=localhost,Type=Connection,ConnectorName=stomp,ViewType=address. This happened for about 2-3 times a minute for a 50 minute period before dying. During that time, I noticed that the open files connections had been spiking (from around 211 to ~1500 before dying). I have a cronjob running every minute that checks the number of open file connections for the activemq account. Wondering if there is some correlation between the ManagedTransportConnection warning and the open file connections. I've searched around but haven't found much information regarding this warning. Does anyone have any suggestions? Thanks, -- Joel -- View this message in context: http://www.nabble.com/ActiveMQ-broker-randomly-dying-tp18102326p18102326.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.