[Freeswitch-users] Thread failure with low CPU utilization?

Giovanni Maruzzelli gmaruzz at gmail.com
Mon Dec 14 19:57:06 MSK 2015


centos 6 is not supported by FreeSWITCH 1.6 !

-giovanni

On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov <deforceczt at gmail.com>
wrote:

> Centos 6,latest update. Via init script
> On 14 Dec 2015 6:25 p.m., "Ken Rice" <krice at freeswitch.org> wrote:
>
>> A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc)
>>
>> b)How are you starting FreeSWITCH? (eg: in the foreground or background
>> with an init script)
>>
>>
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav
>> Ivanov
>> *Sent:* Monday, December 14, 2015 9:47 AM
>> *To:* freeswitch-users at lists.freeswitch.org
>> *Subject:* [Freeswitch-users] Thread failure with low CPU utilization?
>>
>>
>>
>> Hello,
>>
>> I have 1.6.5 Freeswitch and I'm trying to test how much lines/cps it can
>> handle on my test machine:
>>
>> CPU: Intel(R) Xeon(R) CPU E5450  @ 3.00GHz x2 (8 cores, 3 GHz)
>> RAM: 32GB
>> SSD: 500 GB
>>
>> I'm using call generator to check flood the freeswitch, but when FS gets
>> 1k sessions it sends
>> [CRIT] switch_core_session.c:1781 Thread Failure!
>> and the Star Wars quote... But the CPU load is less than 10%
>>
>> Ulimit is as follows:
>>
>> core file size          (blocks, -c) 0
>>
>> data seg size           (kbytes, -d) unlimited
>>
>> scheduling priority             (-e) 0
>>
>> file size               (blocks, -f) unlimited
>>
>> pending signals                 (-i) 128330
>>
>> max locked memory       (kbytes, -l) 64
>>
>> max memory size         (kbytes, -m) unlimited
>>
>> open files                      (-n) 32768
>>
>> pipe size            (512 bytes, -p) 8
>>
>> POSIX message queues     (bytes, -q) 819200
>>
>> real-time priority              (-r) 0
>>
>> stack size              (kbytes, -s) 2048
>>
>> cpu time               (seconds, -t) unlimited
>>
>> max user processes              (-u) 32768
>>
>> virtual memory          (kbytes, -v) unlimited
>>
>> file locks                      (-x) unlimited
>>
>>
>> Server is physical, not virtual, but I dont have the same issue with
>> virtual freeswitch.
>>
>> Here is the "status" before the session limit:
>>
>> freeswitch at internal> status
>>
>> UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 milliseconds, 603
>> microseconds
>>
>> FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready
>>
>> 994 session(s) since startup
>>
>> 994 session(s) - peak 994, last 5min 994
>>
>> 40 session(s) per Sec out of max 200, peak 41, last 5min 41
>>
>> 10000 session(s) max
>>
>> min idle cpu 10.00/96.77
>>
>> Current Stack Size/Max 2048K/2048K
>>
>>
>>
>> freeswitch at internal> status
>>
>> UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 milliseconds, 877
>> microseconds
>>
>> FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready
>>
>> 1003 session(s) since startup
>>
>> 1003 session(s) - peak 1003, last 5min 1003
>>
>> 40 session(s) per Sec out of max 200, peak 41, last 5min 41
>>
>> 993 session(s) max
>>
>> min idle cpu 10.00/96.77
>>
>> Current Stack Size/Max 2048K/2048K
>>
>>
>>
>> freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT]
>> switch_core_session.c:1781 Thread Failure!
>>
>> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 LUKE: I'm
>> hit, but not bad.
>>
>> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 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 993 thus, saving the switch from
>> certain doom.
>>
>> Any help with that? Really strange error...
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/e6b5e7a5/attachment.html 


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