Matthias,<br><br>Below is the ToString():<br><br>None of the specified endpoints were reachable<br>
Endpoints attempted:<br>
 �endpoint=amqp-0-8://<a href="http://10.12.0.190:5672/" target="_blank">10.12.0.190:5672</a>, attempts=1, outcome=The AMQP operation w<br>
as interrupted: AMQP close-reason, initiated by Library, code=0, text=&quot;End of st<br>
ream&quot;, classId=0, methodId=0, cause=System.IO.<div id=":30a" class="ii gt">EndOfStreamException: Unable to re<br>
ad beyond the end of the stream.<br>
 � at System.IO.__Error.EndOfFile()<br>
 � at System.IO.BinaryReader.ReadByte()<br>
 � at RabbitMQ.Client.Impl.Frame.ReadFrom(NetworkBinaryReader reader)<br>
 � at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.ReadFrame()<br>
 � at RabbitMQ.Client.Impl.ConnectionBase.MainLoopIteration()<br>
 � at RabbitMQ.Client.Impl.ConnectionBase.MainLoop()<br>
Stack trace:<br>
 � at RabbitMQ.Client.ConnectionFactory.CreateConnection(Int32 maxRedirects, Amq<br>
pTcpEndpoint[] endpoints)<br>
 � at RabbitMQ.Client.ConnectionFactory.CreateConnection(AmqpTcpEndpoint[] endpo<br>
ints)<br>
 � at RabbitMQ.Client.ConnectionFactory.CreateConnection(String address)<br>
 � at RabbitTest.Program.DoWork() in C:\Development\RabbitTest\RabbitTest\Progra<br>
m.cs:line 65</div><br>I also looked in the rabbit.log, nothing interesting.<br><br>Any thoughts?<br><br>Aaron<br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 1:26 PM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@lshift.net" target="_blank">matthias@lshift.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Aaron,<br>
<div><br>
Aaron Feng wrote:<br>
&gt; I noticed if I spin up around 500 threads and give it the following function:<br>
&gt;<br>
&gt; public static void DoWork() {<br>
&gt; � try {<br>
&gt; � � var factory = new ConnectionFactory();<br>
&gt; � � var param = factory.Parameters;<br>
&gt; � � param.RequestedHeartbeat = 100;<br>
&gt; � � using (var conn = factory.CreateConnection(server)) {<br>
&gt; � � � using (var ch = conn.CreateModel()) {<br>
&gt; � � � � for (int i = 0; i &lt; times; i++) ch.BasicPublish(exchange,<br>
&gt; routingKey, null, data);<br>
&gt; � � � }<br>
&gt; � � }<br>
&gt; � }<br>
&gt; � catch(Exception ex) {<br>
&gt; � � Console.WriteLine(ex.Message);<br>
&gt; � }<br>
&gt; }<br>
&gt;<br>
&gt; Some of the threads would bomb with<br>
&gt; RabbitMQ.Client.Exceptions.BrokerUnreachableException: &quot;None of the<br>
&gt; specified endpoints were reachable&quot;. �I can reproduce this behaviour<br>
&gt; consistently with lots of threads. �Is my test valid?<br>
<br>
</div>Does ToString on the BrokerUnreachableException provide any clues?<br>
<br>
Is there anything noteworthy in the server logs?<br>
<br>
<br>
Regards,<br>
<font color="#888888"><br>
Matthias.<br>
</font></blockquote></div><br>