From 1ee21816e4ecbe1de1dbae5e55a77430a874d303 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 15 Nov 2013 14:10:52 +0100 Subject: [PATCH] Set NPROC limit in the init script. Refs #5050 --- etc/init.d/icinga2.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/init.d/icinga2.cmake b/etc/init.d/icinga2.cmake index f65da997f..97ecac266 100644 --- a/etc/init.d/icinga2.cmake +++ b/etc/init.d/icinga2.cmake @@ -56,6 +56,7 @@ start() { echo "Starting Icinga 2: " ulimit -n 32768 ulimit -s 512 + ulimit -u 16384 $DAEMON -c $ICINGA2_CONFIG_FILE -d -e $ICINGA2_ERROR_LOG -u $ICINGA2_USER -g $ICINGA2_GROUP echo "Done"