How do you make that load balancing between profiles?<br><br><div class="gmail_quote">2011/5/24 Antonio Teixeira <span dir="ltr"><<a href="mailto:eagle.antonio@gmail.com">eagle.antonio@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Sorry To Revive A Old Thread.<br><br>But this could be interesting for some :<br><br>Problem :<br>I started to get some signaling problems with some calls :<br><br>The SIP trunk was passing me 180 Ringing but the local station was not ringing , after a wire shark sniff i noticed that packets were coming out of order.<br>
Before calling our ISP , i used wire shark on the FS Public Interface , and the packets were coming in the correct order but FS would take up to 5 seconds to route them into the private network and would mix the signaling.<br>
So debug started , there was lots of CPU + Memory , IO was not a problem , network was also fine with 0 packet loss .<br><br>So i turned into FS , i noticed this happened on a specific call volume , after reading and reading i noticed a line in the wiki stating that libsofia profile is single threaded .<br>
<br>Solution :<br><br>Start Another Profile on a different port Ex: 5081 and route your calls trough that profile i noticed an improvement right away.<br><br>originate sofia/2_profile/XXXXXX@mygatewayip<br><br>Now i'm using profiles to load balance calls inside FS.<br>
<br>P.S - I know this can be pretty obvious for some but some of us are still new to FS so i hope this can help someone out :D.<br>P.S2 - Also if a veteran thinks this is the wrong approach please respond so we can all improve.<br>
<br><br>Regards<br><font color="#888888">Antonio teixeira</font><div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">2011/4/27 Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
for info I'm using the old Fedora10 64bits<br>
and everything is working fine with fq at 1000hz<br>
<div><div></div><div><br>
<br>
----- Original Message -----<br>
From: "Ariel Monaco" <<a href="mailto:arielmonaco@flylabs.com" target="_blank">arielmonaco@flylabs.com</a>><br>
To: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
Sent: Tuesday, April 26, 2011 8:24 PM<br>
Subject: Re: [Freeswitch-users] Tuning Up Freeswitch<br>
<br>
<br>
We had high CPU utilization peaks in the past, which lead to some audio<br>
issues (clipping). We were using debian at that time, which was a<br>
customer-side requirement.<br>
<br>
I'm not a kernel guru but I remember this had something to do with kernel<br>
timer cycles and the issue was address by adding "divider=10" or<br>
"divider=100" as a kernel's boot loader option.<br>
<br>
My 2 cents,<br>
Ariel<br>
<br>
On Apr 21, 2011, at 13:24 , Antonio Teixeira wrote:<br>
<br>
> Hello List.<br>
><br>
> I'm currently integrating an IVR in python together with freeswitch using<br>
> mod_python and ESL and my life has been well until ...<br>
> The flow of calls went over 80 simultaneous calls.<br>
> Now freeswitch starts sending packets with huge delays ( even when<br>
> establishing the call , mainly the 200 ) and firing up the IVR with tons<br>
> of delay up to 20 seconds.<br>
><br>
> So i searched the wiki forums and mailing list:<br>
><br>
> Put freeswitch on a diet , trimmed modules.conf<br>
> Played with the ulimit stuff.<br>
> Played with the IVRS to reduce load to a minimum and i was able to squeeze<br>
> more 5 calls of performance.<br>
><br>
> The problem is :<br>
><br>
> Top shows<br>
> top - 16:14:33 up 35 days, 8:15, 3 users, load average: 1.92, 1.76,<br>
> 1.78<br>
> Tasks: 133 total, 1 running, 132 sleeping, 0 stopped, 0 zombie<br>
> Cpu(s): 1.4%us, 3.3%sy, 0.0%ni, 94.6%id, 0.0%wa, 0.3%hi, 0.5%si,<br>
> 0.0%st<br>
> Mem: 8193336k total, 1639156k used, 6554180k free, 177208k buffers<br>
> Swap: 19534904k total, 0k used, 19534904k free, 1062272k cached<br>
><br>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>
> 31361 yadayada 20 0 716m 164m 9628 S 73 2.1 155:17.85<br>
> freeswitch<br>
><br>
> Freeswitch goes up to 150 % and puff there goes the MOS down to 0.<br>
><br>
><br>
> Some basic System Info :<br>
> Debian 6.0 ( i heard the timming module is affected by Debian , but if the<br>
> CPU % gets lower than 95% everything will be more stable)<br>
> Python 2.5<br>
><br>
> 2 x Intel(R) Xeon(R) CPU E5506 @ 2.13GHz<br>
> 8 GB of Ram<br>
><br>
> as you can see 94 % of the "Cpu Power" is sleeping :\<br>
><br>
><br>
> It appears freeswitch is only capable of using let's say "one cpu"/thread<br>
> ??<br>
> Do you guys recommend simply starting more instances or redoing the IVR<br>
> stuff.<br>
><br>
><br>
> Hope you guys can help me out.<br>
><br>
> Thanks<br>
> António Teixeira<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
Ariel Monaco – Systems Engineer<br>
Flylabs - Open Source Telecommunications and IT Consultants<br>
<br>
Address: Potosí 4456 C1199ACP - Buenos Aires - Argentina<br>
Web: <a href="http://flylabs.com" target="_blank">http://flylabs.com</a><br>
E-Mail: <a href="mailto:arielmonaco@flylabs.com" target="_blank">arielmonaco@flylabs.com</a><br>
Tel. +54 (11) 4982-2689, +1 (315) 688-7333<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
</div></div><font color="#888888">--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
</font><div><div></div><div><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>