<p>If you&#39;re running that kind of call volume, you might consider taking Avi&#39;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, &quot;Cliff Wells&quot; &lt;<a href="mailto:cliff@develix.com">cliff@develix.com</a>&gt; 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&#39;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>
&gt; If you&#39;re writing the channels to the DB, you can either skip it with<br>
&gt; -nosql or you can ramcache the SQL DBs.<br>
&gt; <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>

&gt;<br>
&gt; -Avi<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jun 5, 2012 at 9:24 PM, Cliff Wells &lt;<a href="mailto:cliff@develix.com">cliff@develix.com</a>&gt; wrote:<br>
&gt;         On Tue, 2012-06-05 at 13:51 -0400, Brian Foster wrote:<br>
&gt;         &gt; I&#39;m not in front of a server right now but check<br>
&gt;         &gt;<br>
&gt;         in /usr/local/freeswitch/conf/autoload_confocal/switch.conf.xml and<br>
&gt;         &gt; see if there&#39;s a variable along the lines of Max DB handles.<br>
&gt;         If it<br>
&gt;         &gt; just refers to odbc stuff you have your answer.<br>
&gt;<br>
&gt;<br>
&gt;         There was just such a setting.  Thanks.<br>
&gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Before you go much further, what was your call volume? It<br>
&gt;         could have<br>
&gt;         &gt; thrown that error because something is locking the DB, so<br>
&gt;         there could<br>
&gt;         &gt; be something wrong with it.<br>
&gt;         &gt;<br>
&gt;<br>
&gt;<br>
&gt;         When total channels exceeds 400ish (~65% inbound, ~35%<br>
&gt;         outbound), system<br>
&gt;         load suddenly spikes (under 350 or so, it&#39;s usually under 2 or<br>
&gt;         3, when<br>
&gt;         we hit 400+, it will jump as high as 80).  At that point the<br>
&gt;         system<br>
&gt;         appears to be queueing calls as the volume will sometimes<br>
&gt;         shoot up to as<br>
&gt;         high as 900, even though that&#39;s not really possible (hard<br>
&gt;         limit due to<br>
&gt;         T1 count), so it seems that it might be blocking on some<br>
&gt;         resource.<br>
&gt;<br>
&gt;         Also caught this error:<br>
&gt;<br>
&gt;         2012-06-05 11:23:21.419535 [CRIT] switch_core_session.c:1861<br>
&gt;         Throttle Error! 1342<br>
&gt;         2012-06-05 11:23:21.520601 [CRIT] switch_time.c:957 Over<br>
&gt;         Session Rate of 30!<br>
&gt;<br>
&gt;         So I adjusted that upwards as well.<br>
&gt;<br>
&gt;<br>
&gt;         16 cores Xeon 3GHz, 16GB RAM, 6 drive SAS RAID 10<br>
&gt;         Scientific Linux 6.1<br>
&gt;         Freeswitch git pull from yesterday.<br>
&gt;<br>
&gt;         Regards,<br>
&gt;         Cliff<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         _________________________________________________________________________<br>
&gt;         Professional FreeSWITCH Consulting Services:<br>
&gt;         <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt;         <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;         FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;         <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt;         Official FreeSWITCH Sites<br>
&gt;         <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;         <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;         <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;         Join Us At ClueCon - Aug 7-9, 2012<br>
&gt;<br>
&gt;         FreeSWITCH-users mailing list<br>
&gt;         <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;         <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;         UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;         <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; Join Us At ClueCon - Aug 7-9, 2012<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <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>