We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0da03c9 + ad3fccf commit 4a2d296Copy full SHA for 4a2d296
deps/rabbit/scripts/rabbitmq-server
@@ -39,6 +39,13 @@ start_rabbitmq_server() {
39
40
_rmq_env_set_erl_libs
41
42
+ if [ -n "$RABBITMQ_MAX_OPEN_FILES" ]; then
43
+ if ! ulimit -n ${RABBITMQ_MAX_OPEN_FILES}; then
44
+ echo "Error: Failed to set maximum number of open files to ${RABBITMQ_MAX_OPEN_FILES}" >&2
45
+ exit 1
46
+ fi
47
48
+
49
RABBITMQ_START_RABBIT=
50
[ "x" = "x$RABBITMQ_ALLOW_INPUT" ] && RABBITMQ_START_RABBIT=" -noinput"
51
if test -z "$RABBITMQ_NODE_ONLY"; then
0 commit comments