I think that I discovery a pattern for this problem, and now I can reproduce it all the time.<div><br></div><div>This is the steps.</div><div><br></div><div>1- Start RabbitMQ</div><div>2- Start 8 consumers in concurrent mode (8 consumers at same time).</div>
<div>3- Start producer</div><div>4- Fating queue with ~3000 messages per second having ~400bytes</div><div>5- When queue have ~170.000 stop consumers and producer</div><div>6- Start consumers in concurrent mode(8 consumers at same time)</div>
<div><br></div><div>After that, consumers are connected to Rabbit, but if you take a look about queue consumers, we have only 3 or 4 consumers... all others are waiting something but don't consume nothing.</div><div><br>
</div><div>I do some tests follow.</div><div><br></div><div>1- Stop others 5 consumers that are listening nothing, and start one by one... and the same status happen again, this other don't get any message from rabbitmq until the 3 started before continuing running and getting messages.</div>
<div><br></div><meta charset="utf-8"><div>2- Wait queue size go to 0 and stop all consumers and start again, now all work fine again and all 8 consumers getting messages from Rabbit.</div><div><br></div><div>I'm very concerned about this... It show me that I can plug more consumers to help process in a pick, anybody here get something like that report ?</div>
<div><br></div><div>PS.</div><div><br></div><div>If I reproduce this same test with a queue size minor than 170.000 all works fine, the problem only happen with queue have more than 170.000.</div><div><br></div><div><br></div>
<div>Regards.</div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Sat, Mar 13, 2010 at 9:45 AM, Gustavo Aquino <span dir="ltr"><<a href="mailto:aquino.gustavo@gmail.com">aquino.gustavo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi David,<div><br></div><div>Thanks, but i'm running a ppc machine this package doesn't work, last night I compiled Erlang in this environment and it's works very fine.</div>
<div><br></div><div>To compile we just need to download the right ncourses-dev-version that Erlang need.</div>
<div><br></div><div>Regards.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sat, Mar 13, 2010 at 9:07 AM, David Wragg <span dir="ltr"><<a href="mailto:david.wragg@lshift.net" target="_blank">david.wragg@lshift.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Gustavo Aquino <<a href="mailto:aquino.gustavo@gmail.com" target="_blank">aquino.gustavo@gmail.com</a>> writes:<br>
> This is the point, I think that we will be the first in this environment, I<br>
> tried to found some experiences in Internet but don't found nothing. I'm<br>
> using Erlang R12 yes I know it's very old, but RH have only this version<br>
> compiled for ppc, I'm trying to install R13B but having some compiling<br>
> problems with ncourses, but It's other e-mail :).<br>
<br>
</div>Have you tried rebuilding a recent Fedora erlang SRPM on RHEL? That<br>
approach often works for getting recent packages running on RHEL, and<br>
should be as simple as:<br>
<br>
rpmbuild --rebuild <a href="http://mirrors.kernel.org/fedora/releases/12/Everything/source/SRPMS/erlang-R13B-01.2.fc12.src.rpm" target="_blank">http://mirrors.kernel.org/fedora/releases/12/Everything/source/SRPMS/erlang-R13B-01.2.fc12.src.rpm</a><br>
<br>
This will do things like checking that you have suitable versions of<br>
all the necessary packages installed for the build, including ncurses.<br>
<br>
David<br>
<font color="#888888"><br>
--<br>
[][][] David Wragg | mail: <a href="mailto:david.wragg@lshift.net" target="_blank">david.wragg@lshift.net</a><br>
[][] Senior Developer | tel: +44 (0)20 7729 7060<br>
[] [] LShift Ltd | web: <a href="http://www.lshift.net" target="_blank">www.lshift.net</a><br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div>