Erlang Windows Service doesn't stay running

I am trying to start the RabbitMQ service on a Windows machine. I have successfully done this on our Development machine but can’t seem to get it to work on our QA machine. I have reinstalled Erlang 27.0.1 to try to fix this as well. The Erlang service appears to start and then stop immediately as seen in the Event Viewer. No error data is sent to the RabbitMQ logs. I have an erl_crash.dump file that is 2 MB and I don’t really know how to read it. I tried searching for certain keywords but nothing stood out.

Here’s the documentation for Erlang’s crash dump viewer: Crashdump Viewer — observer v2.16

Erlang 27 (released in May 2024) is currently not supported by any available
RabbitMQ version. There are significant performance regressions when
running RabbitMQ on Erlang 27.

https://www.rabbitmq.com/docs/which-erlang

1 Like

I was going to follow up to ask what the solution was, or what you found from the crashdump viewer, but the RabbitMQ issue is nice to be aware of as well.

I will say that it seems like (following OTP27 performance regression · Issue #8322 · erlang/otp · GitHub and related issues, PRs, relevant repos, and branches), I’m not sure if RabbitMQ actually still has an issue with OTP27. I’d be curious to know where that issue stands, since many parts seem to have closed issues and merged PRs or branches.

In my scenario, I had Erlang 25 installed on my server already. I installed RabbitMQ and when I tried to run it, it told me to upgrade my Erlang to the latest version. This led me to install Erlang 27.

My solution was to actually delete the RabbitMQ folder in the AppData/Roaming folder under my username. Then RabbitMQ recreated this folder with the correct config files and it worked.

1 Like