forked from Mirrors/freeswitch
FSCORE-326
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12534 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
106597ffef
commit
b98e6e855a
@ -808,7 +808,9 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void)
|
|||||||
setrlimit(RLIMIT_CPU, &rlp);
|
setrlimit(RLIMIT_CPU, &rlp);
|
||||||
setrlimit(RLIMIT_DATA, &rlp);
|
setrlimit(RLIMIT_DATA, &rlp);
|
||||||
setrlimit(RLIMIT_FSIZE, &rlp);
|
setrlimit(RLIMIT_FSIZE, &rlp);
|
||||||
|
#ifdef RLIMIT_NPROC
|
||||||
setrlimit(RLIMIT_NPROC, &rlp);
|
setrlimit(RLIMIT_NPROC, &rlp);
|
||||||
|
#endif
|
||||||
#ifdef RLIMIT_RTPRIO
|
#ifdef RLIMIT_RTPRIO
|
||||||
setrlimit(RLIMIT_RTPRIO, &rlp);
|
setrlimit(RLIMIT_RTPRIO, &rlp);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user