[rabbitmq-discuss] Performance and load testing of RMQ
k.madnani84
k.madnani84 at gmail.com
Tue Oct 1 15:27:22 BST 2013
I was testing this client with 1000 Producers and 1000 consumers each with
different queue totalling of 1000 queues but my server crashed giving out of
memory issue.Could RabbitMQ not handle these many numbers?
Exception in thread "pool-855-thread-3" java.lang.OutOfMemoryError: unable
to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at
java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
at
com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:80)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
DefaultExceptionHandler: Consumer
com.rabbitmq.client.QueueingConsumer at 89c1ee
(amq.ctag-_AGKYg8YrJ-D7GC4hulVgg) method handleDelivery for channel
AMQChannel(amqp://rbtadmin@130.4.147.117:5692/,1) threw an exception for
channel AMQChannel(amqp://rbtadmin@130.4.147.117:5692/,1):
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at
java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
at
com.rabbitmq.client.impl.ConsumerWorkService.addWork(ConsumerWorkService.java:62)
at
com.rabbitmq.client.impl.ConsumerDispatcher.execute(ConsumerDispatcher.java:185)
at
com.rabbitmq.client.impl.ConsumerDispatcher.executeUnlessShuttingDown(ConsumerDispatcher.java:180)
at
com.rabbitmq.client.impl.ConsumerDispatcher.handleDelivery(ConsumerDispatcher.java:117)
at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:345)
at
com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:533)
--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Performance-and-load-testing-of-RMQ-tp29675p30060.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss
mailing list