3.1 is ancient, you might wanna upgrade to 4.1.1 FWIW your issue is probably you ran out of file descriptors
On 4/4/07, robr <[EMAIL PROTECTED]> wrote:
server Env: 4 Gig Mem with 2048M max JVM heap assigned to java Linux amq1 2.6.12-1.1447_FC4smp #1 SMP Fri Aug 26 21:03:12 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux JVM - java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03) Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing) FAQ - if this JVM is 32 bit and i have 4G available, can i just increase -Xmx from 2048M to 3500M and solve the problem by reacting directly to the memory error? Should i upgrade the broker from 3.1 to 3.2.2 to address the memory issue? we are using persistence ( hypersonic DB?) and no journaling. We process 600K messages per day. Im curious about what todo with this error if the JVM already has 2048M allocated. --- stacktrace <code> bug rept: amq daemon t=59813,localport=61616] | 2007/04/04 04:20:54 | 04:20:54 WARN run() | 2007/04/04 04:20:54 | java.lang.OutOfMemoryError: unable to create new native thread | 2007/04/04 04:20:54 | at java.lang.Thread.start0(Native Method) | 2007/04/04 04:20:54 | at java.lang.Thread.start(Thread.java:574) | 2007/04/04 04:20:54 | at org.activemq.transport.tcp.TcpTransportChannel.start(TcpTransportChannel.java:191) | 2007/04/04 04:20:54 | at org.activemq.broker.impl.BrokerConnectorImpl.addClient(BrokerConnectorImpl.java:309) | 2007/04/04 04:20:54 | at org.activemq.transport.TransportServerChannelSupport.addClient(TransportServerChannelSuppor t.java:98) | 2007/04/04 04:20:54 | at org.activemq.transport.tcp.TcpTransportServerChannel.run(TcpTransportServerChannel.java:158 ) | 2007/04/04 04:20:54 | at java.lang.Thread.run(Thread.java:595) | 2007/04/04 04:21:26 | 04:21:26 WARN run() | 2007/04/04 04:21:26 | java.lang.OutOfMemoryError: unable to create new native thread | 2007/04/04 04:21:26 | at java.lang.Thread.start0(Native Method) | 2007/04/04 04:21:26 | at java.lang.Thread.start(Thread.java:574) | 2007/04/04 04:21:26 | at org.activemq.transport.tcp.TcpTransportChannel.start(TcpTransportChannel.java:191) | 2007/04/04 04:21:26 | at org.activemq.broker.impl.BrokerConnectorImpl.addClient(BrokerConnectorImpl.java:309) | 2007/04/04 04:21:26 | at org.activemq.transport.TransportServerChannelSupport.addClient(TransportServerChannelSuppor t.java:98) | 2007/04/04 04:21:26 | at org.activemq.transport.tcp.TcpTransportServerChannel.run(TcpTransportServerChannel.java:158 ) | 2007/04/04 04:21:26 | at java.lang.Thread.run(Thread.java:595) | 2007/04/04 04:21:58 | 04:21:58 WARN run() | 2007/04/04 04:21:58 | java.lang.OutOfMemoryError: unable to create new native thread | 2007/04/04 04:21:58 | at java.lang.Thread.start0(Native Method) </code> -- View this message in context: http://www.nabble.com/3.1-broker-OutofMemoryError-%3A-unable-to-create-new-native-thread-tf3527977s2354.html#a9844430 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
-- James ------- http://radio.weblogs.com/0112098/