From b98e6e855a5b4caf2ae35b37d723108cb50be14a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 9 Mar 2009 16:17:01 +0000 Subject: [PATCH] FSCORE-326 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12534 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_core.c b/src/switch_core.c index 90a250ce13..649efac700 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -808,7 +808,9 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void) setrlimit(RLIMIT_CPU, &rlp); setrlimit(RLIMIT_DATA, &rlp); setrlimit(RLIMIT_FSIZE, &rlp); +#ifdef RLIMIT_NPROC setrlimit(RLIMIT_NPROC, &rlp); +#endif #ifdef RLIMIT_RTPRIO setrlimit(RLIMIT_RTPRIO, &rlp); #endif