Questions tagged [rabbitmqctl]

command line tool for managing a RabbitMQ broker

RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and scalable implementation of an AMQP broker.

rabbitmqctl is a command line tool for managing a RabbitMQ broker. It performs all actions by connecting to one of the broker's nodes. See the man page for further details

Diagnostic information is displayed if the broker was not running, could not be reached, or rejected the connection due to mismatching Erlang cookies.

224 questions
4
votes
2 answers

RabbitMQ - QueueDeclare hangs forever

RabbitMQ randomly stops answering, hanging forever when I am declaring/deleting a queue. Here is an example in my c# .net application: _factory = new ConnectionFactory { HostName = HostName, UserName =…
juanora
  • 542
  • 10
  • 21
4
votes
1 answer

RabbitMQ tools: rabbitmqctl vs rabbitmqadmin

I'm new to RabbitMQ and I decided to start with console tools for better management understanding. Then I'm going to use web console and then Java client. I faced some operations can be executed both with rabbitmqctl: rabbitmqctl add_vhost…
awfun
  • 2,316
  • 4
  • 31
  • 52
4
votes
1 answer

RabbitMQ consumer in Go

I am trying to write a RabbitMQ Consumer in Go. Which is suppose to take the 5 objects at a time from the queue and process them. Moreover, it is suppose to acknowledge if successfully processed else send to the dead-letter queue for 5 times and…
Naresh
  • 5,073
  • 12
  • 67
  • 124
4
votes
3 answers

Django Celery with RabbitMQ

I am trying to run task with Celery. I follow this tutorials link Everything has been setup successfully. The thing now is that I don't know how to execute a task. I run celeryd and it couldn't find the task. I want to know what exactly I need to…
Le Duy Khanh
  • 1,339
  • 3
  • 17
  • 36
4
votes
1 answer

rabbitmqadmin list vhosts show messages but there are no queues

rabbitmqadmin list vhosts show messages but there are no queues. Why it is possible? When I run Celery it still somehow receives messages. How can I see the name of the queue where the messages are stored? What do I…
Dmitry Mugtasimov
  • 3,858
  • 2
  • 18
  • 26
4
votes
2 answers

How can I get the status of a rabbitmq-shovel by the http api

Using "rabbitmqctl eval 'rabbit_shovel_status:status().'" I can get the shovels status in my rabbitmq server. I activated the modules 'rabbitmq_shovel' and 'rabbitmq_shovel_management'. I created some dynamic shovels with the HTTP API, the problem I…
kurco19
  • 43
  • 1
  • 3
3
votes
1 answer

RabbitMQ -- list consumer names for a queue

Is there way to list names of consumers subscribed to a queue? With "rabbitmqctl list_queues -p test name,consumers" I could get the number of consumers to a queue but not their names. I see two consumers where I expect one. I need to figure out who…
Hem
  • 619
  • 13
  • 26
3
votes
0 answers

Sometimes RabbitMQ cluster starts to freeze and run slowly

We have a cluster of three nodes. Two of them are on one server, the third node is on the other. All queues have an "ha-all" availability setting. We ran into a problem that sometimes the cluster stops receiving messages, or receives them very…
Oleg Varlamov
  • 145
  • 1
  • 12
3
votes
1 answer

RabbitMQ Unable to Join Cluster

I am trying to learn clustering rabbitmq nodes and I am following this tutorial as well as the official documentation. I have 2 physical machines with rabbitmq deployed on them through docker. machine1 (192.168.1.2) is to be the cluster, and…
stonecharioteer
  • 1,061
  • 11
  • 19
3
votes
1 answer

RabbitMQ poor performance

We are facing bad performance in our RabbitMQ clusters. Even when idle. Once installed the rabbitmq-top plugin, we see many processes with very high reductions/sec. 100k and more! Questions: What does it mean? How to control it? What might be…
Eldad Assis
  • 10,464
  • 11
  • 52
  • 78
3
votes
1 answer

Unable to perform an operation on node rabbitmq

Trying to set up a rabbitmq with rabbit@localhost, but: c:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.18\sbin>rabbitmqctl status Error: unable to perform an operation on node 'rabbit@localhost'. Please see diagnostics information and…
alienless Andrey
  • 41
  • 1
  • 1
  • 3
3
votes
2 answers

How to - purge a rabbitmq queue using curl

I am checking is there way to purge a rabbitmq queue using curl ? I know using command line, but I am in need of something using curl? Suggestions/help appreciated Note : - with this link , I did not get exact curl command to be used
Vishwa
  • 607
  • 2
  • 11
  • 21
3
votes
2 answers

How to publish Json using rabbitmqadmin command

I want to publish Json message using rabbitmqadmin command line. How can we do that as i was reading we can send only string message in payload like below rabbitmqadmin publish exchange=default routing_key=test payload="hello, world". But I wanted…
3
votes
2 answers

"Error: Failed to initialize erlang distribution:" trying to run "rabbitmqctl status"

This question has been asked before (RabbitMQ Failed to initialize erlang distribution), but I haven't been able to find out how to fix it from the existing answers. Following https://www.rabbitmq.com/man/rabbitmqctl.1.man.html, I'd like to run the…
Kurt Peek
  • 52,165
  • 91
  • 301
  • 526
3
votes
1 answer

Rabbitmq channel error on connection

I have working srv0 with Application normally connected to rabbitmq I've cloned srv0 to srv1 just ip chanded via customization(for test purposes) Now Client application on srv1 can't connect to rabbit(Catalina.out): Caused by:…
Riorita
  • 151
  • 2
  • 2
  • 12
1 2
3
14 15