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
This commit is contained in:
parent
435c578cd3
commit
eae03877f5
|
@ -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 -- \
|
||||
|
|
Loading…
Reference in New Issue