can you monitor the server using jmx - to see how many threads/
sockets are being used ?
On Jul 17, 2007, at 8:36 PM, jzhang1 wrote:
ActiveMQ gurus
ActiveMQ version 4.1.0. It always crash after runing about 8 hours. I
changed java heap and stack memory -Xmx -Xss. But it never helps. The
machine is 4G memory and 4 processors. The MQ messages arrive and
consume
every minute. No message accumulation in the queue.
Exception in thread "ActiveMQ Transport Server:
stomp://release1m3.****.com:61613" java.lang.OutOfMemoryError:
unable to
create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:574)
at
org.apache.activemq.thread.DedicatedTaskRunner.<init>
(DedicatedTaskRunner.java:45)
at
org.apache.activemq.thread.TaskRunnerFactory.createTaskRunner
(TaskRunnerFactory.java:77)
at
org.apache.activemq.broker.TransportConnection.<init>
(TransportConnection.java:166)
at
org.apache.activemq.broker.jmx.ManagedTransportConnection.<init>
(ManagedTransportConnection.java:55)
at
org.apache.activemq.broker.jmx.ManagedTransportConnector.createConnect
ion(ManagedTransportConnector.java:56)
at
org.apache.activemq.broker.TransportConnector$1.onAccept
(TransportConnector.java:147)
at
org.apache.activemq.transport.tcp.TcpTransportServer.run
(TcpTransportServer.java:167)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://www.nabble.com/ActiveMQ-%3A-
java.lang.OutOfMemoryError%3A-unable-to-create-new-native-thread-
tf4099069s2354.html#a11656339
Sent from the ActiveMQ - User mailing list archive at Nabble.com.