From: Anthony Minessale Date: Mon, 9 Mar 2009 18:43:17 +0000 (+0000) Subject: I guess we have to leave this for lusers X-Git-Tag: v1.0.4~1584 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb4fd36dbb9c2d0a321cb8e960edbed0683015f;p=thirdparty%2Ffreeswitch.git I guess we have to leave this for lusers git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12538 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core.c b/src/switch_core.c index 649efac700..66b588e457 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -792,7 +792,7 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void) #ifndef __FreeBSD__ memset(&rlp, 0, sizeof(rlp)); rlp.rlim_cur = SWITCH_THREAD_STACKSIZE; - rlp.rlim_max = SWITCH_THREAD_STACKSIZE; + rlp.rlim_max = SWITCH_SYSTEM_THREAD_STACKSIZE; setrlimit(RLIMIT_STACK, &rlp); #endif