[rabbitmq-discuss] Ubuntu/Debian limits in 2.8.x

John Watson john at disqus.com
Wed Apr 18 22:55:25 BST 2012


With the transition to start-stop-daemon, RabbitMQ isn't started with
pam integration. Instead, the init script should source /etc/default/
rabbitmq-server so we can set ulimit there

--- /etc/init.d/rabbitmq-server.old	2012-04-18 21:54:05.852307662
+0000
+++ /etc/init.d/rabbitmq-server	2012-04-18 21:49:17.594182809 +0000
@@ -35,6 +35,8 @@
 RETVAL=0
 set -e

+[ -r /etc/default/${NAME} ] && . /etc/default/${NAME}
+
 ensure_pid_dir () {
     PID_DIR=`dirname ${PID_FILE}`
     if [ ! -d ${PID_DIR} ] ; then



More information about the rabbitmq-discuss mailing list