<div>As Aaron mentioned I've run the same code on OSX via mono and have encountered similar errors. I've been getting somewhat inconsistent results depending on how many threads I spin up. When set to run 500 threads I'm currently getting the error below [1]. I do get a number of messages sent to the queue (~24k) and based on the error am assuming the client can't handle spinning up that many concurrent connections.</div>
<div><br></div><div>[1] </div><div><div>None of the specified endpoints were reachable</div><div>Endpoints attempted:</div><div> endpoint=amqp-0-8://localhost:5672, attempts=1, outcome=Too many open files</div><div>Stack trace:</div>
<div> at RabbitMQ.Client.ConnectionFactory.CreateConnection (Int32 maxRedirects, RabbitMQ.Client.AmqpTcpEndpoint[] endpoints) [0x00000] </div><div> at RabbitMQ.Client.ConnectionFactory.CreateConnection (RabbitMQ.Client.AmqpTcpEndpoint[] endpoints) [0x00000] </div>
<div> at RabbitMQ.Client.ConnectionFactory.CreateConnection (System.String address) [0x00000] </div><div> at RabbitTest.Program.DoWork () [0x00000] </div><div>System.Net.Sockets.SocketException: The descriptor is not a socket</div>
<div> at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel level, SocketOptionName name, Int32 opt_value) [0x00000] </div><div> at System.Net.Sockets.TcpClient.set_ReceiveTimeout (Int32 value) [0x00000] </div>
<div> at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.set_Timeout (Int32 value) [0x00000] </div><div> at RabbitMQ.Client.Impl.ConnectionBase.ClosingLoop () [0x00000] </div><div>System.Net.Sockets.SocketException: The descriptor is not a socket</div>
<div> at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel level, SocketOptionName name, Int32 opt_value) [0x00000] </div><div> at System.Net.Sockets.TcpClient.set_ReceiveTimeout (Int32 value) [0x00000] </div>
<div> at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.set_Timeout (Int32 value) [0x00000] </div><div> at RabbitMQ.Client.Impl.ConnectionBase.ClosingLoop () [0x00000] </div><div><br></div></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
Matthias,</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Steve ran the exact same code on mono under OSX. He also encountered some errors on the client side. He will be joining this thread soon.<span style="border-collapse:separate;font-family:arial;font-size:small"> <span style="font-family:arial"> </span></span></span></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Thanks,<span style="border-collapse:separate;font-family:arial;font-size:small"> </span></span></blockquote>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Aaron</span></blockquote>