I have been using the Java programs which are available with the kit. .NET is something I have yet to try and really should start.<div>One word of warning: since Erlang is 32-bit mode only, you will run out of memory quite quickly with certain tests, leading invariably to a crash. You probably already know this, but in case you did not...</div>
<div>If you have a handy little .NET example lying around, I would love to give a go. However, I will download the .NET kit and give it a whirl.<br><br></div><div>I have the following lines in my rabbitmq.config file:</div>
<div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">[</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {kernel,</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> [{inet_dist_listen_min, 65535},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {inet_dist_listen_max, 65535},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {inet_default_listen_options,</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> [{nodelay,true}, {sndbuf,65535}, {recbuf,65535}]},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {inet_default_connect_options, [{nodelay,true}]}</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> ]</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> },</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {os_mon,</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> [{start_cpu_sup,true},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {start_disksup,false},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {start_memsup, false},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {system_memory_high_watermark, 0.9}</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> ]</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> },</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {rabbit, [{vm_memory_high_watermark, 0.4}]},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {rabbit, [{memory_alarms, true}]},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {mnesia, [{dump_log_write_threshold, 1000}]},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {rabbit, []}</font></div><div><font class="Apple-style-span" face="'courier new', monospace">].</font></div><div><font class="Apple-style-span" face="'courier new', monospace">The important ones are the vm_memory_high_watermark and the memory_alarms true. I have found that using the maximum sndbuf and recbuf give me the best performance on Windows 7 X64.</font></div>
<div class="gmail_quote">2010/6/18 Øyvind Tjervaag <span dir="ltr"><<a href="mailto:oyvind@tjervaag.com">oyvind@tjervaag.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ah, neat, wich also remind me I have to start looking into 1.8.0. Are you using the .NET client lib, and did you have to change a lot of you code to get it working?<br>
<font color="#888888"><br>
/Øyvind<br>
</font><div><div></div><div class="h5"><br>
On Jun 18, 2010, at 8:41 PM, John Apps wrote:<br>
<br>
> I define the RABBITMQ_* variables thus:<br>
><br>
> RABBITMQ_BASE=C:\AMQP\RabbitMQ\rabbitmq_server-1.8.0<br>
> RABBITMQ_CONFIG_FILE=C:\AMQP\RabbitMQ\rabbitmq<br>
> RABBITMQ_NODENAME=BIGPOOH<br>
><br>
> which leads to log and DB being defined under RABBITMQ_BASE. Good to have as I am running 3 different versions of RabbitMQ right now, 1.7.1, 1.7.2 and 1.8.0. No need, really, it was just so easy to setup.<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>---<br>John Apps<br>(49) 171 869 1813<br>
</div>