<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><strong>Hi,</strong><BR><strong></strong> <BR><strong>We are receiving the following error when hitting around 500 channels in a queue using PJSIP:</strong><BR> <BR><blockquote style="margin-right: 0px;" dir="ltr">[2016-02-22 09:20:42] WARNING[31097]: pbx.c:6980 ast_pbx_start: Failed to create new channel thread<br>[2016-02-22 09:20:42] WARNING[31097]: chan_pjsip.c:2202 pbx_start_incoming_request: Failed to start PBX ;(<BR></blockquote> <BR><strong>Limits are set as follows:</strong><BR> <BR><blockquote style="margin-right: 0px;" dir="ltr">ulimit -a<br>core file size (blocks, -c) unlimited<br>data seg size (kbytes, -d) unlimited<br>scheduling priority (-e) 0<br>file size (blocks, -f) unlimited<br>pending signals (-i) unlimited<br>max locked memory (kbytes, -l) unlimited<br>max memory size (kbytes, -m) unlimited<br>open files (-n) 800000<br>pipe size (512 bytes, -p) 8<br>POSIX message queues (bytes, -q) unlimited<br>real-time priority (-r) 0<br>stack size (kbytes, -s) unlimited<br>cpu time (seconds, -t) unlimited<br>max user processes (-u) unlimited<br>virtual memory (kbytes, -v) unlimited<br>file locks (-x) unlimited<BR></blockquote> <BR><strong>Can this be resolved by configuring pjproject in the following way?</strong><BR> <BR><blockquote style="margin-right: 0px;" dir="ltr">./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1 -DPJSUA_MAX_CALLS=5000 -DPJSUA_MAX_PLAYERS=5000" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video --disable-sound --disable-opencore-amr<BR> <BR></blockquote><p dir="ltr"><strong>Basically setting PJSUA_MAX_CALLS=5000 and PJSUA_MAX_PLAYERS=5000 higher than the default?</strong></p><p dir="ltr"><strong></strong> </p><p dir="ltr"><strong>I would be grateful for any advice you can offer.</strong></p><p dir="ltr"><strong></strong> </p><p dir="ltr"><strong>Kind regards,</strong></p><p dir="ltr"><strong></strong> </p><p dir="ltr"><strong>Ross</strong></p> <BR> <BR> <BR> </div></body>
</html>