]> granicus.if.org Git - icinga2/commitdiff
Increase file descriptor limit in the init script.
authorGunnar Beutner <gunnar@beutner.name>
Mon, 7 Oct 2013 07:35:13 +0000 (09:35 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 7 Oct 2013 07:35:13 +0000 (09:35 +0200)
etc/init.d/icinga2.in

index 8dbfc64bbcd8dfb5199b228a011d37e72996c15c..9d7d8ae3ba4f9277f5b435649da4019f5e8961b1 100644 (file)
@@ -63,6 +63,7 @@ start() {
         fi
 
         printf "Starting Icinga 2: "
+        ulimit -n 8192
         $DAEMON -c $ICINGA2_CONFIG_FILE -d -e $ICINGA2_ERROR_LOG -u $ICINGA2_USER -g $ICINGA2_GROUP
 
         echo "Done"