Skip to content

RabbitMQ service on Windows reports "started" state too early. #16

@alex-ht-work

Description

@alex-ht-work

When we start the service on windows, the startup is complete in a second. But looking at the log files we can see that it takes it much longer to be ready to accept connections (in my observation, around 40 seconds when the system boots and around 12 seconds when starting from the Services console).

As a result of such behavior, any other service depending on RabbitMQ service will fail to start during the system startup.

Suppose, ServiceA depends on RabbitMQ and makes a connection to the local RabbitMQ node. Both services are configured to start automatically.
Windows will first start RabbitMQ service, wait for it to report the "started" state, then start ServiceA.
ServiceA will try to connect to RabbitMQ node and will fail, because RabbitMQ service does not accept connections yet.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions