[e*] amqp_client 3.6.10
[E*] autocluster 0.9.0+4.g0e7899d
[e*] cowboy 1.0.4
[e*] cowlib 1.0.2
[ ] rabbitmq_amqp1_0 3.6.10
[E*] rabbitmq_auth_backend_ldap 3.6.10
[ ] rabbitmq_auth_mechanism_ssl 3.6.10
[e*] rabbitmq_aws 3.6.13.milestone1+2.g946e794
[ ] rabbitmq_consistent_hash_exchange 3.6.10
[ ] rabbitmq_event_exchange 3.6.10
[ ] rabbitmq_federation 3.6.10
[ ] rabbitmq_federation_management 3.6.10
[ ] rabbitmq_jms_topic_exchange 3.6.10
[E*] rabbitmq_management 3.6.10
[e*] rabbitmq_management_agent 3.6.10
[ ] rabbitmq_management_visualiser 3.6.10
[E*] rabbitmq_mqtt 3.6.10
[ ] rabbitmq_recent_history_exchange 3.6.10
[ ] rabbitmq_sharding 3.6.10
[E*] rabbitmq_shovel 3.6.10
[E*] rabbitmq_shovel_management 3.6.10
[ ] rabbitmq_stomp 3.6.10
[ ] rabbitmq_top 3.6.10
[ ] rabbitmq_tracing 3.6.10
[ ] rabbitmq_trust_store 3.6.10
[e*] rabbitmq_web_dispatch 3.6.10
[ ] rabbitmq_web_mqtt 3.6.10
[ ] rabbitmq_web_mqtt_examples 3.6.10
[ ] rabbitmq_web_stomp 3.6.10
[ ] rabbitmq_web_stomp_examples 3.6.10
[ ] sockjs 0.3.4
sh-4.2$
something_here$ sudo rabbitmq-plugins enable rabbitmq_queue_master_balancer
Error: The following plugins could not be found:
rabbitmq_queue_master_balancer
-rw-r--r--. 1 root root 271316 May 25 2017 amqp_client-3.6.10.ez
-rw-r--r--. 1 root root 225805 May 25 2017 cowboy-1.0.4.ez
-rw-r--r--. 1 root root 125600 May 25 2017 cowlib-1.0.2.ez
-rw-r--r--. 1 root root 841579 May 25 2017 rabbit_common-3.6.10.ez
-rw-r--r--. 1 root root 211403 May 25 2017 rabbitmq_amqp1_0-3.6.10.ez
-rw-r--r--. 1 root root 34398 May 25 2017 rabbitmq_auth_backend_ldap-3.6.10.ez
-rw-r--r--. 1 root root 13098 May 25 2017 rabbitmq_auth_mechanism_ssl-3.6.10.ez
-rw-r--r--. 1 root root 14670 May 25 2017 rabbitmq_consistent_hash_exchange-3.6.10.ez
-rw-r--r--. 1 root root 11460 May 25 2017 rabbitmq_event_exchange-3.6.10.ez
-rw-r--r--. 1 root root 162854 May 25 2017 rabbitmq_federation-3.6.10.ez
-rw-r--r--. 1 root root 13812 May 25 2017 rabbitmq_federation_management-3.6.10.ez
-rw-r--r--. 1 root root 22438 May 25 2017 rabbitmq_jms_topic_exchange-3.6.10.ez
-rw-r--r--. 1 root root 745255 May 25 2017 rabbitmq_management-3.6.10.ez
-rw-r--r--. 1 root root 149415 May 25 2017 rabbitmq_management_agent-3.6.10.ez
-rw-r--r--. 1 root root 41445 May 25 2017 rabbitmq_management_visualiser-3.6.10.ez
-rw-r--r--. 1 root root 105971 May 25 2017 rabbitmq_mqtt-3.6.10.ez
-rw-r--r--. 1 root root 630 Jun 12 04:13 rabbitmq_queue_master_balancer-0.0.4.ez
-rw-r--r--. 1 root root 14659 May 25 2017 rabbitmq_recent_history_exchange-3.6.10.ez
-rw-r--r--. 1 root root 34102 May 25 2017 rabbitmq_sharding-3.6.10.ez
-rw-r--r--. 1 root root 81065 May 25 2017 rabbitmq_shovel-3.6.10.ez
-rw-r--r--. 1 root root 18963 May 25 2017 rabbitmq_shovel_management-3.6.10.ez
-rw-r--r--. 1 root root 109801 May 25 2017 rabbitmq_stomp-3.6.10.ez
-rw-r--r--. 1 root root 51777 May 25 2017 rabbitmq_top-3.6.10.ez
-rw-r--r--. 1 root root 49841 May 25 2017 rabbitmq_tracing-3.6.10.ez
-rw-r--r--. 1 root root 50943 May 25 2017 rabbitmq_trust_store-3.6.10.ez
-rw-r--r--. 1 root root 40288 May 25 2017 rabbitmq_web_dispatch-3.6.10.ez
-rw-r--r--. 1 root root 24697 May 25 2017 rabbitmq_web_mqtt-3.6.10.ez
-rw-r--r--. 1 root root 66243 May 25 2017 rabbitmq_web_mqtt_examples-3.6.10.ez
-rw-r--r--. 1 root root 37693 May 25 2017 rabbitmq_web_stomp-3.6.10.ez
-rw-r--r--. 1 root root 52184 May 25 2017 rabbitmq_web_stomp_examples-3.6.10.ez
-rw-r--r--. 1 root root 57872 May 25 2017 ranch-1.3.0.ez
-rw-r--r--. 1 root root 59 May 25 2017 README
-rw-r--r--. 1 root root 100901 May 25 2017 sockjs-0.3.4.ez
Error: {plugin_built_with_incompatible_erlang,
"rabbitmq_queue_master_balancer"}
sh-4.2$ erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
"19"
=INFO REPORT==== 11-Jun-2019::18:25:06 ===
Starting RabbitMQ 3.6.10 on Erlang 19.3.6.13
Copyright (C) 2007-2017 Pivotal Software, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/
=WARNING REPORT==== 11-Jun-2019::18:25:05 ===
Problem reading some plugins: [{"/usr/lib/rabbitmq/lib/rabbitmq_server-3.6.10/plugins/rabbitmq_queue_master_balancer-0.0.4.ez",
{invalid_ez,einval}}]
=INFO REPORT==== 11-Jun-2019::18:25:06 ===
Starting RabbitMQ 3.6.10 on Erlang 19.3.6.13
Copyright (C) 2007-2017 Pivotal Software, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/
$ sudo rabbitmq-plugins enable rabbitmq_queue_master_balancer
Plugin configuration unchanged.
Applying plugin configuration to rabbit@xxxxxxxxxxx...WARNING: module rabbit_queue_master_balancer_app not found, so not scanned for boot steps.
WARNING: module rabbit_queue_master_balancer_sup not found, so not scanned for boot steps.
WARNING: module rabbit_queue_master_balancer_sync not found, so not scanned for boot steps.
Error: {could_not_start,rabbitmq_queue_master_balancer,
{undef,
[{rabbit_queue_master_balancer_app,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,273}]}]}}
failed.
make[2]: execvp: elixir: Permission denied
make[1]: Leaving directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbit_common'
make[1]: Entering directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbit'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[1]: execvp: elixir: Permission denied
make[2]: Entering directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbitmq_cli'
erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[2]: execvp: elixir: Permission denied
make[3]: Entering directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/observer_cli'
/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbitmq_cli/erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbitmq_cli/erlang.mk:30: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
make[3]: Leaving directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/observer_cli'
GEN escript/rabbitmqctl
/bin/sh: line 3: mix: command not found
make[2]: *** [escript/rabbitmqctl] Error 127
make[2]: Leaving directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbitmq_cli'
make[1]: *** [deps] Error 2
make[1]: Leaving directory `/home/test_stuff/rabbitmq-queue-master-balancer-0.0.4/deps/rabbit'
make: *** [deps] Error 2
-rwxrwxrwx. 1 root root 3745 Jul 13 2018 elixir
-rwxrwxrwx. 1 root root 4747 Mar 15 2018 elixir.bat
-rwxrwxrwx. 1 root root 1239 Mar 15 2018 elixirc
-rwxrwxrwx. 1 root root 1325 Mar 15 2018 elixirc.bat
-rwxrwxrwx. 1 root root 2272 Mar 15 2018 iex
-rwxrwxrwx. 1 root root 2468 Mar 15 2018 iex.bat
-rwxrwxrwx. 1 root root 45 Dec 22 2017 mix
-rwxrwxrwx. 1 root root 95 Feb 6 2018 mix.bat
-rwxrwxrwx. 1 root root 576 Dec 22 2017 mix.ps1
Applying plugin configuration to rabbit@someIpHere...WARNING: module rabbit_queue_master_balancer_app not found, so not scanned for boot steps.
WARNING: module rabbit_queue_master_balancer_sup not found, so not scanned for boot steps.
WARNING: module rabbit_queue_master_balancer_sync not found, so not scanned for boot steps.
failed.
Error: {could_not_start,rabbitmq_queue_master_balancer,
{undef,
[{rabbit_queue_master_balancer_app,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,273}]}]}}
It is rebalancing more or less 9 or 7 queues per attempt. No errors in the logs.
My questions would be:
We will need to run the plugin for a couple of hours till achieve an equilibrium. Is there a way to rebalance a bigger amount of queues per rebalance attempt?
Also would be good if a new command that returns true or false if equilibrium has been reached. So we can automate the runs to achieve equilibrium using this plugin ( then just running a command after each attempt to equilibriate would be enough to know when to stop running the plugin in automated way.
I will post the logs in a few minutes.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ef550f32-5a99-44a6-b41d-93d283bf3b45%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CAGefmvRZK%3De_37cwB18g0tvUaQv87aC8T-LRN_edthw_y_JKUQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CAABUv_5MVmzTYfofn6EcUKGzS9yqkk_wa0VwTsYYfpFdOQMzRQ%40mail.gmail.com.
Code Sync & Erlang Solutions Conferences
Code BEAM Lite BD - Budapest: 20 September 2019
Code BEAM Lite NYC - NYC: 01 October 2019
Code BEAM Lite - Berlin: 11 October 2019
RabbitMQ Summit - London: 4 November 2019
Code Mesh LDN - London: 7-8 November 2019
Code BEAM Lite India - Bangalore: 14 November 2019
Code BEAM Lite AMS - Amsterdam: 28 November 2019
Lambda Days - Kraków: 13-14 February 2020
Code BEAM SF - San Francisco: 5-6 March 2020
Erlang Solutions cares about your data and privacy; please find all details about the basis for communicating with you and the way we process your data in our Privacy Policy.You can update your email preferences or opt-out from receiving Marketing emails here.
Hi RodrigoThanks for the feedback. Nothing odd with your configuration at all.Most recent execution is 500+ queues, with 1000 messages, mirrored across all cluster nodes - working perfectly fine with default configuration. And as already mentioned - heaviest test we've carried out is with 1000 queues with active high load/traffic (which was even more hectic as the sync delays are non-deterministic). 1000 or 2000 fixed messages on a 1000 queues is a much more "easy" and straight forward for this tool. Nothing's fluctuating, we've made it withstand harsher conditions under normal use (We also have some of our "paying customers" whom we offer RabbitMQ consulting services to, using this tool for balancing queues).FYI, running rabbitmqctl eval 'rabbit_queue_master_balancer:info().' will give you the effective/active configuration during an execution run. Some configurations aren't allowed to fall below, e.g. 100ms, should be reflected by this call.We're also happy to discuss this with you over a call or something. If you're keen, can you please drop an email to Erlang Solutions, at gen...@erlang-solutions.com requesting to talk to me or one of our RabbitMQ engineers (cc me - I'll prioritise your request). And we'll help you out! We're keen to hear/see what procedures you're executing wrong/incorrectly to get the outcomes you're seeing.Cheers!Best regards,AyandaErlang Solutions Ltd.
On Tue, 30 Jul 2019 at 08:02, Rodrigo Sandoval <rodrigo...@gmail.com> wrote:
I just used a configuration where it worked for 400 queues and 1000 messages.Operational_priority, 5000Preload_queues, falseSync_delay_timeout, 10000Sync_verification_factor 300Policy_transaction_delay, 3000I basically reduced policy_transaction_delay from a very high number I had. With default value of 50 didn't work well.I have read the documentation many times. But I am not sure what should be the right config depending on amount of queues + amount of messages( where should I focus the tweak when thinking in queues and messages?)There is something I don't understand. How I ended up with 2000 messages instead of 1000.
On Mon, Jul 29, 2019, 3:32 PM Rodrigo Sandoval <rodrigo.san...@gmail.com> wrote:
Let me clarify something that I said wrong:when there are messages in any queues, the plugin fails. So it doesn't fail in that specific queue with messages but in any random. Probably for the config I'm using for the plugin.Also I said 2000 messages but I meant 1000.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ef550f32-5a99-44a6-b41d-93d283bf3b45%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CAGefmvRZK%3De_37cwB18g0tvUaQv87aC8T-LRN_edthw_y_JKUQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CAABUv_5MVmzTYfofn6EcUKGzS9yqkk_wa0VwTsYYfpFdOQMzRQ%40mail.gmail.com.