I'm setting up an instance of RabbitMQ to run on my development workstation so as to make tests.
I would like to play with the configuration (conf regarding flow control in my case).
I've installed erlang, rabbitmq-server-3.1.1, set RABBITMQ_BASE
to a certain directory, set RABBITMQ_CONFIG_FILE
to c:/path/to/myconf
(so it references c:\path\to\myconf.config
).
Now I open my cmd and execute rabbitmq-service install. The web manager shows that my RMQ server is up and running.
But the value for disk_free_limit
I've set does not match.
I don't know if the config file is not read or if I my config file has errors and is therefore ignored.
Content of my conf file:
[
{rabbit,
[
{disk_free_limit, 250000000}
]
}
].
Launch report in the logs (it shows that my conf file is not read):
=INFO REPORT==== 12-Jun-2013::17:06:44 ===
node : rabbit@DEV-WORKSTATION
home dir : C:\Windows
config file(s) : (none)
cookie hash : 2SazL+DgWDMqrHlr4w8R8A==
log : c:/rabbitmq_server-3.1.1/RabbitMQ/log/DEV-WORKSTATION.log
sasl log : c:/rabbitmq_server-3.1.1/RabbitMQ/log/[email protected]
database dir : c:/rabbitmq_server-3.1.1/RabbitMQ/db/rabbit@DEV-WORKSTATION-mnesia
Thanks for your help.
RABBITMQ_CONFIG_FILE
env var and leftRABBITMQ_BASE
. I moved my config file to%RABBITMQ_BASE%\rabbitmq.config
. And now the settings are read correctly. Is it a bug happening only under windows?%RABBITMQ_BASE%\rabbitmq.config
, is that the same as%APPDATA%\RabbitMQ\rabbitmq.config
? Coincidentally, I'm trying to configure the samedisk_free_limit
setting, so far without success, even when putting the config in the default location. It always says "config file(s): (none)" andrabbitmqctl status
confirms it didn't pick up my settings.rabbitmq-server
, it'll use%APPDATA%\RabbitMQ\rabbitmq.config
, but not when running as a service.