<div dir="ltr">Hi, <div><br></div><div>Well, two correction. </div><div>1. I mentioned I did the with/without tracer check on our application. not the multicast.</div><div>2. the computer which I am running the tests on does not have a NAT. I tried to narrow it down so I found one of the comp that has that problem and does not have a nat.</div>
<div><br></div><div>OK, and now for the new interesting part. with evidence :-) .</div><div><br></div><div><div>As you suggested I tried to do a test . with the multicast .</div><div>I will describe it </div><div><br></div>
<div> 1. made directroy name RMQTest - put both clients in different folder </div><div><br></div><div>C:\RMQTestEnv\rabbitmq-java-client-bin-1.7.0</div><div>C:\RMQTestEnv\rabbitmq-java-client-bin-2.3.1</div><div><br></div>
<div>2. copied a batch file that has the following command to both folders. </div><div><br></div><div><font class="Apple-style-span" color="#6633FF">runjava com.rabbitmq.examples.MulticastMain -h 192.168.100.251 -p 1434 -e X1X1X1X1 </font></div>
<div><br></div><div>3. ran it in both folders (finished one, started the other one. not simultaneously) .</div><div>first the 1.7.0. output</div><div><br></div><div><font class="Apple-style-span" color="#6600CC">C:\RMQTestEnv\rabbitmq-java-client-bin-1.7.0>runjava com.rabbitmq.examples.Multi</font></div>
<div><font class="Apple-style-span" color="#6600CC">castMain -h 192.168.100.251 -p 1434 -e X1X1X1X1</font></div><div><font class="Apple-style-span" color="#6600CC">starting consumer #0</font></div><div><font class="Apple-style-span" color="#6600CC">starting producer #0</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 7950 msg/s, min/avg/max latency: 689/6493/26385 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 9434 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 10537 msg/s, min/avg/max latency: 658/4791/27949 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 10194 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 10390 msg/s, min/avg/max latency: 704/5161/24546 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 10460 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 10278 msg/s, min/avg/max latency: 655/5061/27513 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 10513 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 10834 msg/s, min/avg/max latency: 637/4598/28824 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 10623 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 10554 msg/s, min/avg/max latency: 663/15783/92337 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 10909 msg/s</font></div>
<div><br></div><div>nice </div><div><br></div><div>now the 2.3.1.</div><div><br></div><div><font class="Apple-style-span" color="#6600CC">C:\RMQTestEnv\rabbitmq-java-client-bin-2.3.1>runjava com.rabbitmq.examples.Multi</font></div>
<div><font class="Apple-style-span" color="#6600CC">castMain -h 192.168.100.251 -p 1434 -e X1X1X1X1</font></div><div><font class="Apple-style-span" color="#6600CC">starting consumer #0</font></div><div><br></div><div>thats it. doesn't seem to work. </div>
<div><br></div><div>4. ok. now the trace thing. </div><div>added a trace of 2.3.1 and changed the multicast 2.3.1 to link to the Tracer. </div><div><br></div><div><font class="Apple-style-span" color="#6600CC">the 2.3.1 command</font></div>
<div><font class="Apple-style-span" color="#6600CC"> runjava com.rabbitmq.examples.MulticastMain -h 127.0.0.1 -p 5672 -e X1X1X1X1 </font></div><div><font class="Apple-style-span" color="#6600CC">the trace command will be then </font></div>
<div><font class="Apple-style-span" color="#6600CC"> runjava.bat com.rabbitmq.tools.Tracer 5672 192.168.100.251 1434</font></div><div><br></div><div>and it was successfull, as you can see with the Tracer.</div><div><font class="Apple-style-span" color="#6600CC"><br>
</font></div><div><font class="Apple-style-span" color="#6600CC">C:\RMQTestEnv\rabbitmq-java-client-bin-2.3.1>runjava com.rabbitmq.examples.Multi</font></div><div><font class="Apple-style-span" color="#6600CC">castMain -h 127.0.0.1 -p 5672 -e X1X1X1X1</font></div>
<div><font class="Apple-style-span" color="#6600CC">starting consumer #0</font></div><div><font class="Apple-style-span" color="#6600CC">starting producer #0</font></div><div><font class="Apple-style-span" color="#6600CC">recving rate: 0 msg/s, min/avg/max latency: 18896/18896/18896 microseconds</font></div>
<div><font class="Apple-style-span" color="#6600CC">sending rate: 2231 msg/s</font></div><div><font class="Apple-style-span" color="#6600CC">recving rate: 1201 msg/s, min/avg/max latency: 16142/352034/545121 microseconds</font></div>
<div><font class="Apple-style-span" color="#6600CC">sending rate: 2126 msg/s</font></div><div><font class="Apple-style-span" color="#6600CC">recving rate: 1309 msg/s, min/avg/max latency: 518532/711257/909513 microseconds</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 1353 msg/s, min/avg/max latency: 897258/1088853/1260756 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 2081 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">recving rate: 1359 msg/s, min/avg/max latency: 1239551/1437173/1637659 microseconds</font></div><div><font class="Apple-style-span" color="#6600CC">sending rate: 2119 msg/s</font></div>
<div><font class="Apple-style-span" color="#6600CC">sending rate: 2140 msg/s</font></div><div><font class="Apple-style-span" color="#6600CC">recving rate: 1292 msg/s, min/avg/max latency: 1608518/1833688/2038255 microseconds</font></div>
<div><br></div><div>I dont think we need tracer for 1.7.0. because 1.7.0. works even without a tracer. </div><div><br></div><div>Thanks. </div></div><div>I know it is a long thread so far. But if you will succeed in helping us solve this. </div>
<div>You will be our hero. </div><div><br><div class="gmail_quote">On Wed, Mar 2, 2011 at 4:21 PM, Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<div><br>
<br>
On 02/03/11 13:25, mysurf mail wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1. multicast 1.7.0.<br>
Ahh.. I was looking for the multicast of 1.7.0. we only kept the (rabbit<br>
main jar).<br>
<br>
Ok, I ran it on the computer with the bad 2.3.1. communication and it<br>
ran it without a problem.<br>
seemed fine. I added the output (in the 1.txt file ).<br>
<br>
So, This computer runs multicast 1.7.0 and not 2.3.1. a riddle.<br>
</blockquote>
<br></div>
You previously tried MulticastMain from version 2.3.1 with and without the tracer and you saw failures without the tracer. Is this correct?<br>
<br>
Can you try running MulticastMain from version 1.7.0 with and without the tracer as well? From your description it doesn't sound like you have replicated the test in exactly the same way. You will need to use the tracer from the 1.7.0 release for this test.<br>
<br>
Do you have any way of repeating this test with the client and server on the same LAN or on the same host, in order to eliminate the network as a cause of the problem? I'm assuming that all your tests are still traversing the NAT infrastructure.<br>
<br>
Another option is to inspect a network traffic dump. We will need the binary capture file produced by wireshark or tcpdump to collect all traffic on the port you use for AMQP (1434 in your case) on the client and on the broker. Please don't send large binaries to the mailing list though. Rather place it somewhere where it can be retrieved from.<div>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3. 1.7.0. to 2.3.1. -<br>
We decided on an emergency solution for the meanwhile - we run rabbitmq<br>
2.3.1 server with 1.7.0. jars at the clients.<br>
so far it seems ok. Are we expecting major problems?<br>
</blockquote>
<br></div>
It is impossible to say without understanding the cause.<br><font color="#888888">
<br>
<br>
<br>
<br>
-Emile<br>
</font></blockquote></div><br></div></div>