I was able to replicate this problem and am attaching a console application
written with .NET/VS 2008 using the official NMS 1.1. provider.  We are
using ActiveMQ 5.2 with same config file as I attached previously.

To replicate send 1,000,000 messages through.  Make a copy of the console
application in "Debug" to a separate directory and run the producer and
consumer in separate applications.  Enter 0 for a pace with producer.  

http://www.nabble.com/file/p25515100/NativeNMSConsumerAndProducer.zip
NativeNMSConsumerAndProducer.zip 

The Async error occurs around 650,000 msgs and producer, consumer, and
broker does not recover.  One can use Sql Server Express to set up the
database needed for jdbc master/slave.  I did not test in another
master/slave configuration.




magellings wrote:
> 
> Hello.  We are stress testing ActiveMQ 5.2 using NMS for .NET
> producers/consumers.  We are sending 200,000 messages through our system
> and we ran into the error "Async error occurred" shortened for brevity. 
> Log file is attached.  It seems this error keeps reoccuring after the
> first one and fills the wrapper.log file to 29GB before disk space fills
> up and broker stops working.  We are running the broker in a windows
> service on Windows Server 2008.
> 
> Can anyone take a look at the log file and provide me input into what the
> problem is?  Or some suggestions on modifying our activemq.xml
> configuration.  I'm thinking of setting our prefetch higher than 5 for our
> consumers.  With the thought this will reduce network activity between the
> broker and consumers.
> 
> a log with a snippet of the exceptions and activemq.xml attached.  
> 
> Thoughts?
> 
>  http://www.nabble.com/file/p25474605/activemq.xml activemq.xml 
>  http://www.nabble.com/file/p25474605/LogSnippet.txt LogSnippet.txt 
> 

-- 
View this message in context: 
http://www.nabble.com/Async-error-occurred--%3E-ActiveMQ-5.2-and-NMS-tp25474605p25515100.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to