[icinga-checkins] icinga.org: icinga2/feature/threadpool-bug-5050: Set NPROC limit in the init script.

git at icinga.org git at icinga.org
Fri Nov 15 14:11:05 CET 2013


Module: icinga2
Branch: feature/threadpool-bug-5050
Commit: 1ee21816e4ecbe1de1dbae5e55a77430a874d303
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=1ee21816e4ecbe1de1dbae5e55a77430a874d303

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Nov 15 14:10:52 2013 +0100

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 f65da99..97ecac2 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"





More information about the icinga-checkins mailing list