[icinga-checkins] icinga.org: icinga2/next: Increase default stack size

git at icinga.org git at icinga.org
Fri Jun 27 08:18:42 CEST 2014


Module: icinga2
Branch: next
Commit: 62896cb9a563a8a093c7dc0e173c78e72adbf127
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=62896cb9a563a8a093c7dc0e173c78e72adbf127

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Jun 27 08:18:32 2014 +0200

Increase default stack size

fixes #6588

---

 lib/base/application.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/base/application.cpp b/lib/base/application.cpp
index bba8cdb..e62a1a6 100644
--- a/lib/base/application.cpp
+++ b/lib/base/application.cpp
@@ -183,7 +183,7 @@ void Application::SetResourceLimits(void)
 	}
 
 	if (set_stack_rlimit) {
-		rl.rlim_cur = 256 * 1024;
+		rl.rlim_cur = 1024 * 1024;
 		rl.rlim_max = rl.rlim_cur;
 
 		if (setrlimit(RLIMIT_STACK, &rl) < 0)



More information about the icinga-checkins mailing list