We are running RabbitMQ 3.6.6, erlang version Erlang/OTP 17 [erts-6.4]. I start rabbitmq as a service on my CentOS Linux system. I get no errors at startup. At least none that I am aware of.
RabbitMQ seems to be running successfully. I can post to exchanges and queues from NiFi. I can get into Rabbit through it's Management Console.
I've detected a problem for several reasons:
1. When I try to add virtual hosts, exchanges, or new users through the Management Console none of my changes show up. A month or two ago, they would. I added an exchange and a dozen queues, for example.
2. When I use rabbitmqctl to add a new user, I get this error:
"Erlang VM I/O system is damaged, restart needed"
This is accompanied by a few more lines of somewhat generic, somewhat standard looking erlang dump messages.
I hope folks who have wrestled with this can offer some guidance to a few questions:
1. how does one avoid this erlang state in the future? I have done some research in the open source and find that a few folks have reported this error, but the solution paths and the causes are somewhat poorly understood.
2. Given that I start rabbitmq as a service, I want to be sure that I ask before I attempt to directly shutdown and restart rabbitmq or erlang so that I don't do it in a bad sequence that leaves me hung up. Should I stop the service, then run 'rabbitmqctl stop' in an effort to stop rabbitmq and erlang? Should I avoid using init:stop() at the erl prompt, or can rabbitmq survive a direct restart of the erlang foundation?
3. What happens if I continue to get these erlang errors when I try to stop rabbitmq? Must I kill -9 PIDs, and reinstall erlang? Does reinstalling erlang mean I must reinstall rabbitmq? I sure hop enot.
4. I notice in the nohup.out file created by my /etc/init.d/rabbitmq script at startup, the broker starts and there is a message at end of that short file "Gracefully halting Erlang VM". Is that normal? I would guess that Rabbit would want Erlang to stay up, bu tperhaps that doesn't necessarily mean the full Erlang VM.
Thanks for any help. -Jim