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.
tim.b...@redhat.com | www.redhat.com 
twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply via email to