rabbitmqctl

Rabbitmq File Descriptor Limit

醉酒当歌 提交于 2021-02-17 20:27:35
问题 Rabbitmq documentation says that we need to do some configuration before we use it on production. One of the configuration is about maximum open file number (which is an OS parameter). Rabbitmq server we use is running on Ubuntu 16.04 and according to resources I found on web, I updated the number of open files as 500k. When I check it from command line, I get the following output: root@madeleine:~# ulimit -n 500000 However when I look at the rabbitmq server status, I see another number. root

Rabbitmq File Descriptor Limit

烂漫一生 提交于 2021-02-17 20:26:58
问题 Rabbitmq documentation says that we need to do some configuration before we use it on production. One of the configuration is about maximum open file number (which is an OS parameter). Rabbitmq server we use is running on Ubuntu 16.04 and according to resources I found on web, I updated the number of open files as 500k. When I check it from command line, I get the following output: root@madeleine:~# ulimit -n 500000 However when I look at the rabbitmq server status, I see another number. root

Rabbitmq File Descriptor Limit

二次信任 提交于 2021-02-17 20:26:02
问题 Rabbitmq documentation says that we need to do some configuration before we use it on production. One of the configuration is about maximum open file number (which is an OS parameter). Rabbitmq server we use is running on Ubuntu 16.04 and according to resources I found on web, I updated the number of open files as 500k. When I check it from command line, I get the following output: root@madeleine:~# ulimit -n 500000 However when I look at the rabbitmq server status, I see another number. root

RabbitMQ - access to vhost 'XXX' refused for user 'guest'

佐手、 提交于 2020-06-27 09:21:16
问题 I am using RabbitMQ 3.0.3 version. The service was working fine for last 4-5 years. Recently some updates patches were installed on the server and the Service stopped responding. This is what is happening: The RabbitMQ service (windows service) is running but not responding. In the log file I see error access to vhost 'XXX' refused for user 'guest' The management console is throwing site cannot be reached error What options do I have here? I cannot update RabbitMQ version as my code starts to

“Error: Failed to initialize erlang distribution:” trying to run “rabbitmqctl status”

醉酒当歌 提交于 2020-01-04 02:18:12
问题 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 rabbitmqctl status command to display information about the RabbitMQ broker. However, I get an error message: kurt@kurt-ThinkPad:~$ rabbitmqctl status Error: Failed to initialize erlang distribution: {{shutdown, {failed_to_start_child, net_kernel,

Delete all the queues from RabbitMQ?

心已入冬 提交于 2019-12-29 10:06:47
问题 I installed rabbitmqadmin and was able to list all the exchanges and queues. How can I use rabbitmqadmin or rabbitmqctl to delete all the queues. 回答1: First, list your queues: rabbitmqadmin list queues name Then from the list, you'll need to manually delete them one by one: rabbitmqadmin delete queue name='queuename' Because of the output format, doesn't appear you can grep the response from list queues . Alternatively, if you're just looking for a way to clear everything (read: reset all

Rabbitmq channel error on connection

我们两清 提交于 2019-12-24 01:23:49
问题 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: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no queue 'wrs-checklist-delete' in vhost '/', class-id=50, method-id=10) /var/log/rabbitmq/*.log answers =ERROR REPORT==== 24-Nov

Whether to create connection every time when amqp.Dial is threadsafe or not in go lang

独自空忆成欢 提交于 2019-12-19 03:40:53
问题 As it is mentioned in the RabbitMQ docs that tcp connections are expensive to make. So, for that concept of channel was introduced. Now i came across this example. In the main() it creates the connection everytime a message is publised. conn, err := amqp.Dial("amqp://guest:guest@localhost:5672/") . Shouldn't it be declared globally once and there should be failover mechanism in case connection get closed like singleton object. If amqp.Dial is thread-safe, which i suppose it should be Edited

rabbitmqctl Error: unable to connect to node rabbit@myserver nodedown

倾然丶 夕夏残阳落幕 提交于 2019-12-18 12:17:40
问题 I am running RabbitMQ v3.3.5 with Erlang OTP 17.1 on Windows 2008 R2. My Dev and QA environments are stand-alone. My staging and production environments are clustered. I am finding this one problem happening often where the RabbitMQ service is running, the RabbitMQ management console is seeing everything, but when I try running rabbitmqctl from the command line it fails with an error saying that the node is down (tried locally and on a remote server). This problem is resolved if I restart the