<p>If you're running that kind of call volume, you might consider taking Avi's advice and go for a ramcache setup. I think your testing really the limits of what you can handle with the DB being on a disk. Maybe not, it depends on what all you are doing with the DB. I would look into that possibility though, it may give you better results.</p>
<p>Brian Foster<br>
Endigo Computer LLC</p>
<p>Sent from a mobile device.</p>
<div class="gmail_quote">On Jun 5, 2012 6:23 PM, "Cliff Wells" <<a href="mailto:cliff@develix.com">cliff@develix.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Looks like one of our profiles was getting flooded with too many CPS<br>
(300+). Added more profiles and it seems okay now (although won't know<br>
for sure until peak hours tomorrow).<br>
<br>
Thanks for all the tips.<br>
<br>
Cliff<br>
<br>
<br>
On Tue, 2012-06-05 at 21:35 +0300, Avi Marcus wrote:<br>
> If you're writing the channels to the DB, you can either skip it with<br>
> -nosql or you can ramcache the SQL DBs.<br>
> <a href="http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#FreeSWITCH.27s_core.db_I.2FO_bottleneck" target="_blank">http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#FreeSWITCH.27s_core.db_I.2FO_bottleneck</a><br>
><br>
> -Avi<br>
><br>
><br>
><br>
> On Tue, Jun 5, 2012 at 9:24 PM, Cliff Wells <<a href="mailto:cliff@develix.com">cliff@develix.com</a>> wrote:<br>
> On Tue, 2012-06-05 at 13:51 -0400, Brian Foster wrote:<br>
> > I'm not in front of a server right now but check<br>
> ><br>
> in /usr/local/freeswitch/conf/autoload_confocal/switch.conf.xml and<br>
> > see if there's a variable along the lines of Max DB handles.<br>
> If it<br>
> > just refers to odbc stuff you have your answer.<br>
><br>
><br>
> There was just such a setting. Thanks.<br>
><br>
> ><br>
> > Before you go much further, what was your call volume? It<br>
> could have<br>
> > thrown that error because something is locking the DB, so<br>
> there could<br>
> > be something wrong with it.<br>
> ><br>
><br>
><br>
> When total channels exceeds 400ish (~65% inbound, ~35%<br>
> outbound), system<br>
> load suddenly spikes (under 350 or so, it's usually under 2 or<br>
> 3, when<br>
> we hit 400+, it will jump as high as 80). At that point the<br>
> system<br>
> appears to be queueing calls as the volume will sometimes<br>
> shoot up to as<br>
> high as 900, even though that's not really possible (hard<br>
> limit due to<br>
> T1 count), so it seems that it might be blocking on some<br>
> resource.<br>
><br>
> Also caught this error:<br>
><br>
> 2012-06-05 11:23:21.419535 [CRIT] switch_core_session.c:1861<br>
> Throttle Error! 1342<br>
> 2012-06-05 11:23:21.520601 [CRIT] switch_time.c:957 Over<br>
> Session Rate of 30!<br>
><br>
> So I adjusted that upwards as well.<br>
><br>
><br>
> 16 cores Xeon 3GHz, 16GB RAM, 6 drive SAS RAID 10<br>
> Scientific Linux 6.1<br>
> Freeswitch git pull from yesterday.<br>
><br>
> Regards,<br>
> Cliff<br>
><br>
><br>
><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> Join Us At ClueCon - Aug 7-9, 2012<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>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> Join Us At ClueCon - Aug 7-9, 2012<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>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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>
</blockquote></div>