Set NPROC limit in the init script.

Refs #5050
This commit is contained in:
Gunnar Beutner 2013-11-15 14:10:52 +01:00
parent 687c88bea0
commit 1ee21816e4
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ start() {
echo "Starting Icinga 2: " echo "Starting Icinga 2: "
ulimit -n 32768 ulimit -n 32768
ulimit -s 512 ulimit -s 512
ulimit -u 16384
$DAEMON -c $ICINGA2_CONFIG_FILE -d -e $ICINGA2_ERROR_LOG -u $ICINGA2_USER -g $ICINGA2_GROUP $DAEMON -c $ICINGA2_CONFIG_FILE -d -e $ICINGA2_ERROR_LOG -u $ICINGA2_USER -g $ICINGA2_GROUP
echo "Done" echo "Done"