Comments (1)
I tried the following and it seems to work like a charm in my test case:
#!/bin/bash
if [[ "${RABBIT_ULIMIT}" ]]; then
ulimit -n "${RABBIT_ULIMIT}"
else
ulimit -n 1024
fi
chown -R rabbitmq:rabbitmq /data
exec rabbitmq-server $@
Then I just add -e "RABBIT_ULIMIT=unlimited"
or some value instead of unlimited and I am able to handle the number of connections I need.
from rabbitmq.
Related Issues (13)
- docker stop times out and kill rabbitmq HOT 5
- Volume mounts on OSX don't seem to work HOT 1
- Current release on Docker Hub is broken HOT 11
- image not found HOT 9
- Container not working HOT 1
- Upgrade to RabbitMQ 3.6.0
- persistent shared data directory not working after deleting container HOT 2
- rabbitmq.com apt repo was re-signed with the new release key HOT 1
- Azure rabbitmq docker instance dies after a certain (large) amount of messages
- Startup blocking behavior in docker compose HOT 1
- could_not_write_file cluster_nodes.config etxtbsy HOT 2
- Tag images with upstream version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq.