From 304086fe2faaf380c7f9f81e6e6d959c7c8414f3 Mon Sep 17 00:00:00 2001 From: Nico640 <29523913+Nico640@users.noreply.github.com> Date: Tue, 30 Jan 2024 21:39:59 +0100 Subject: [PATCH] fix rabbitmq not starting --- root/etc/s6-overlay/s6-rc.d/rabbitmq/run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/etc/s6-overlay/s6-rc.d/rabbitmq/run b/root/etc/s6-overlay/s6-rc.d/rabbitmq/run index e7e6d7e..ed091a1 100644 --- a/root/etc/s6-overlay/s6-rc.d/rabbitmq/run +++ b/root/etc/s6-overlay/s6-rc.d/rabbitmq/run @@ -3,5 +3,8 @@ export HOME=/var/lib/rabbitmq export PATH=$PATH:/opt/rabbitmq/sbin +# Limit max open file descriptors or else RabbitMQ wont't start (#96) +[ $(ulimit -n) -gt 65536 ] && ulimit -n 65536 + echo "Starting rabbitmq-server..." s6-setuidgid unms rabbitmq-server