From 7780ef382ad99dc94e277e7f944b996e42b8239f Mon Sep 17 00:00:00 2001 From: Clark Boylan <clark.boylan@gmail.com> Date: Wed, 1 Jan 2014 12:59:11 -0800 Subject: [PATCH] Give Zuul file descriptor breathing room. The Zuul service opens a lot of TCP connections and files resulting in many open file descriptors. The default limit of 2048 is bumped into regularly. Bump the limit to 8192 when starting the Zuul service to give it breathing room to grow into. Change-Id: I9a3aee664c1c6c6139b012fc3dc0631725f59741 --- modules/zuul/files/zuul.init | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/zuul/files/zuul.init b/modules/zuul/files/zuul.init index 6119a37e87..c262665340 100755 --- a/modules/zuul/files/zuul.init +++ b/modules/zuul/files/zuul.init @@ -45,6 +45,7 @@ do_start() mkdir -p /var/run/$NAME chown $USER /var/run/$NAME + ulimit -n 8192 start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON -- \