Hi Tim,Could you be more detailed from where I can start to understand how to manage the configuration?Did you say that I should begin to check these .bat file and other Mbean related configurations and get to understanding how these various options can control broker's behavior?I checked the activemq.bat and found set ACTIVEMQ_OPTS=-Xms1G -Xmx1GI will change it to 10G and test again. Thank you very much for you help.
> Date: Sat, 22 Aug 2015 12:50:54 -0400 > From: [email protected] > To: [email protected] > Subject: Re: jmsexception unknown PUBREL xx received > > On 08/22/2015 12:17 PM, wangjunwei wrote: > > Hi all, I am on a project and doing stress test to activemq. I noticed lots > > of WARN messagesJmsexception unknown PUBREL xxx recived when I launched > > above 800 connections from our four different windows server simutanously. > > which xxx is an integer numbermeanwhile I noticed lots of > > jave.net.socketexception connection reset, write error and etc.I am using > > activemq 5.11.1 and M2mqtt 4.1.0.0 paho .net library as MQTT client. and > > the per mqtt message size is 10Kb. the broker configuration is the default > > setting.but from the windows performance monitor, the captured data showed > > that CPU is less than 70% on average,memory is used only 1Gb, disk write > > 40Kb/s no disk queue, network bandwidth consumed 80%. all seems good.if I > > use less than 200 connections, there is no these exceptions.can anyone > > sheld light on this? Thanks > I believe that the default max heap in the env script for the broker is > 1GB so if you hit that then you would be sure to see troubles like > this. If you are going to stress test the broker then you'd want to > understand how to manage the configuration to meet the demands of the > testing. > > -- > Tim Bish > Sr Software Engineer | RedHat Inc. > [email protected] | www.redhat.com > twitter: @tabish121 > blog: http://timbish.blogspot.com/ >
