[Freeswitch-users] [CRIT] switch_core_session.c:1705 Thread Failure!

Anthony Minessale anthony.minessale at gmail.com
Thu Aug 8 00:59:04 MSD 2013


The 98% cpu usage is the catalyst for the error, not the other way around.
You have consumed all your space for threads and the system cannot create
any more for some reason.


FreeBSD has chosen to implement their own threading lib a few times and it
seems to cause us trouble.
Did you set the thread stack size to 244 before launching?





On Wed, Aug 7, 2013 at 3:47 PM, Nikolay Rogoshchenkov
<nickolayr at gmail.com>wrote:

> Could you please explain what  this mean in FreeSwitch log???
>
> ----------------------------------------------------------------------
> *[...]*
> *2013-08-07 23:40:48.011687 [CRIT] switch_core_session.c:1705 Thread
> Failure!*
> *2013-08-07 23:40:48.011687 [CRIT] switch_core_session.c:1665 LUKE: I'm
> hit, but not bad.*
> *2013-08-07 23:40:48.011687 [CRIT] switch_core_session.c:1666 LUKE'S
> VOICE: Artoo, see what you can do with it. Hang on back there....*
> *Green laserfire moves past the beeping little robot as his head turns.
>  After a few beeps and a twist of his mechanical arm,*
> *Artoo reduces the max sessions to 101 thus, saving the switch from
> certain doom.*
> *2013-08-07 23:40:48.031685 [CRIT] switch_core_session.c:1705 Thread
> Failure!*
> *2013-08-07 23:40:48.031685 [CRIT] switch_core_session.c:1665 LUKE: I'm
> hit, but not bad.*
> *2013-08-07 23:40:48.031685 [CRIT] switch_core_session.c:1666 LUKE'S
> VOICE: Artoo, see what you can do with it. Hang on back there....*
> *Green laserfire moves past the beeping little robot as his head turns.
>  After a few beeps and a twist of his mechanical arm,*
> *Artoo reduces the max sessions to 101 thus, saving the switch from
> certain doom.*
> *2013-08-07 23:40:48.041688 [CRIT] switch_core_session.c:1705 Thread
> Failure!*
> *[...]*
> *2013-08-07 23:55:38.141571 [CRIT] switch_core_session.c:1705 Thread
> Failure!*
> *2013-08-07 23:55:38.151578 [CRIT] switch_core_session.c:1705 Thread
> Failure!*
> *2013-08-07 23:55:38.171584 [CRIT] switch_core_session.c:1705 Thread
> Failure!*
> *[..]*
> ----------------------------------------------------------------------
>
> It is not funny, at that moment freeswitch consumes 98% of CPU time, and
> did not response at all.
>
>
> PS: (Version 1.5.5b git 8d005a4 2013-07-22 14:41:01Z) @FreeBSD 8.2-RELEASE
> (x64)
>
> --
> Nikolay
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130807/32e94f8d/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list