You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by JigarP <ji...@gmail.com> on 2008/06/09 05:39:23 UTC
Regarding STOMP Maximum connection with Activemq
Hi,
I am doing load testing of my STOMP client(Java) and it creates maximum
of the 2200 stomp listener to activemq and then it gives error.
Exception in thread "ActiveMQ Transport Server: stomp://jigar: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.transport.TransportThreadSupport.doStart(TransportThreadSupport.java:44)
at
org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:304)
at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:49)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:54)
at
org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:816)
at
org.apache.activemq.broker.TransportConnector$1.onAccept(TransportConnector.java:148)
at
org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:167)
at java.lang.Thread.run(Thread.java:595)
can anybody tell that how can we do load balancing in Activemq or which kind
of clustering should i do to make sure that when maximum number of
connections are reached to activemq then it should redirect request to other
activemq.
Regards,
Jigar
--
View this message in context: http://www.nabble.com/Regarding-STOMP-Maximum-connection-with-Activemq-tp17725861p17725861.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.