update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12537 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3e7a746201
commit
a1e1c5e968
|
@ -627,7 +627,7 @@ int main(int argc, char *argv[])
|
||||||
rlp.rlim_cur = SWITCH_THREAD_STACKSIZE;
|
rlp.rlim_cur = SWITCH_THREAD_STACKSIZE;
|
||||||
rlp.rlim_max = SWITCH_THREAD_STACKSIZE;
|
rlp.rlim_max = SWITCH_THREAD_STACKSIZE;
|
||||||
setrlimit(RLIMIT_STACK, &rlp);
|
setrlimit(RLIMIT_STACK, &rlp);
|
||||||
fprintf(stderr, "Error: stacksize %ld is too large: run ulimit -s %d or run %s -waste.\nauto-adjusting stack size for optimal performance....\n",
|
fprintf(stderr, "Error: stacksize %d is too large: run ulimit -s %d or run %s -waste.\nauto-adjusting stack size for optimal performance....\n",
|
||||||
(int)(rlp.rlim_max / 1024), SWITCH_THREAD_STACKSIZE / 1024, argv[0]);
|
(int)(rlp.rlim_max / 1024), SWITCH_THREAD_STACKSIZE / 1024, argv[0]);
|
||||||
apr_terminate();
|
apr_terminate();
|
||||||
ret = (int)execv(argv[0], argv);
|
ret = (int)execv(argv[0], argv);
|
||||||
|
|
Loading…
Reference in New Issue