Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitely set ulimits for mq to ERL_MAX_PORTS (metabrainz#258)
On Linux ERL_MAX_PORTS defaults to 65,536. But the Docker container for the service `mq` rather uses the host ulimits. When ulimits is infinite, it can make the container to take a very long time to start while using a lot of CPU for nothing. It depends on the host settings. This patch explicitely sets ulimits to 65,536 as recommended for `mq`. See docker-library/rabbitmq#545 for details.
- Loading branch information