0

我的 rabbitMQ 服务一启动就崩溃了。该服务在过去两年中运行良好,但突然停止工作。我看了看日志,看到了这个:

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
Starting RabbitMQ 3.0.2 on Erlang R16B

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
Limiting to approx 8092 file handles (7280 sockets)

=WARNING REPORT==== 8-Oct-2015::11:40:56 ===
Only 2048MB of 4095MB memory usable due to limited address space.

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
Memory limit set to 819MB of 4095MB total.

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
Disk free limit set to 1000MB

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 8-Oct-2015::11:40:56 ===
started TCP Listener on [::]:5672

=ERROR REPORT==== 8-Oct-2015::11:40:56 ===
Error in process 

所以我决定运行以下命令:

  rabbitmqctl set_vm_memory_high_watermark 0.5

它给出以下错误:

Setting memory threshold on rabbit@sn4324324 to 0.5 ...
Error: unable to connect to node rabbit@sn4324324: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@sn4324324]

hosts, their running nodes and ports:
- sn4324324: [{rabbitmqctl601389,64542}]

current node details:
- node name: rabbitmqctl601389@sn4324324
- home dir: C:\Users\TestUser
- cookie hash: /GF4XhumN66/5SsNp0a8gQ==

如何设置 set_vm_memory_high_watermark 的值

4

0 回答 0