[asterisk-dev] Asterisk 13.7.2 Failed to create new channel thread

Ross Beer ross.beer at outlook.com
Mon Feb 22 06:02:37 CST 2016


Hi Joshua,
 
Do you know what could be causing this issue?
 
There is plenty of memory and ports available. As you can see the ulimit settings are mostly unlimited.
 
Kind regards,
 
Ross 
 
> Date: Mon, 22 Feb 2016 07:45:28 -0400
> From: jcolp at digium.com
> To: asterisk-dev at lists.digium.com
> Subject: Re: [asterisk-dev] Asterisk 13.7.2 Failed to create new channel	thread
> 
> Ross Beer wrote:
> > *Hi,*
> > **
> > *We are receiving the following error when hitting around 500 channels
> > in a queue using PJSIP:*
> >
> >     [2016-02-22 09:20:42] WARNING[31097]: pbx.c:6980 ast_pbx_start:
> >     Failed to create new channel thread
> >     [2016-02-22 09:20:42] WARNING[31097]: chan_pjsip.c:2202
> >     pbx_start_incoming_request: Failed to start PBX ;(
> 
> 
> This would be coming from the system when we try to create a thread.
> 
> >
> >
> > *Limits are set as follows:*
> >
> >     ulimit -a
> >     core file size (blocks, -c) unlimited
> >     data seg size (kbytes, -d) unlimited
> >     scheduling priority (-e) 0
> >     file size (blocks, -f) unlimited
> >     pending signals (-i) unlimited
> >     max locked memory (kbytes, -l) unlimited
> >     max memory size (kbytes, -m) unlimited
> >     open files (-n) 800000
> >     pipe size (512 bytes, -p) 8
> >     POSIX message queues (bytes, -q) unlimited
> >     real-time priority (-r) 0
> >     stack size (kbytes, -s) unlimited
> >     cpu time (seconds, -t) unlimited
> >     max user processes (-u) unlimited
> >     virtual memory (kbytes, -v) unlimited
> >     file locks (-x) unlimited
> >
> >
> > *Can this be resolved by configuring pjproject in the following way?*
> >
> >     ./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
> >
> > *Basically setting PJSUA_MAX_CALLS=5000 and PJSUA_MAX_PLAYERS=5000
> > higher than the default?*
> 
> No, those have no impact on threading or constraints within Asterisk 
> itself. They will do nothing when used with Asterisk.
> 
> -- 
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20160222/fd3c8fb3/attachment-0001.html>


More information about the asterisk-dev mailing list