Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ connection in blocking state?

Tags:

java

rabbitmq

I connect to RabbitMQ server that time my connection display in blocking state and i not able to publish new message i have ram of 6 gb free and disk space also be about 8GB

how to configure disk space limit in RabbitMQ

like image 440
jayesh Avatar asked May 03 '12 07:05

jayesh


1 Answers

I got the same problem. Seem like the rabbitmq server was using more memory than the threshold

http://www.rabbitmq.com/memory.html

I ran following command to unblock these connections:

rabbitmqctl set_vm_memory_high_watermark 0.6

(default value is 0.4)

like image 138
Van Thoai Nguyen Avatar answered Sep 22 '22 16:09

Van Thoai Nguyen