mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
Revert "Set stack size rlimit."
This reverts commit 36c0af7a85d92401fa1d28c16f1e6ee64e2bb804.
This commit is contained in:
parent
86a87b7583
commit
8055eaa8b8
@ -136,14 +136,6 @@ void Application::SetResourceLimits(void)
|
||||
Log(LogDebug, "base", "System does not support adjusting the resource limit for number of processes (RLIMIT_NPROC)");
|
||||
# endif /* RLIMIT_NPROC */
|
||||
#endif /* _WIN32 */
|
||||
|
||||
# ifdef RLIMIT_STACK
|
||||
rl.rlim_cur = 128 * 1024;
|
||||
rl.rlim_max = rl.rlim_cur;
|
||||
|
||||
if (setrlimit(RLIMIT_STACK, &rl) < 0)
|
||||
Log(LogDebug, "base", "Could not adjust resource limit for stack size (RLIMIT_STACK)");
|
||||
# endif /* RLIMIT_STACK */
|
||||
}
|
||||
|
||||
int Application::GetArgC(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user