<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] High load on database server</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>SIPP works fine for this... However keep in mind some of their default scenario files arent exactly the best in the world and can in many situations leave a bit to be desired... Check the wiki I think there is more info on this on there<BR>
<BR>
K<BR>
<BR>
<BR>
On 10/27/11 12:51 PM, "Madovsky" <<a href="infos@madovsky.org">infos@madovsky.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>on this subject,<BR>
is SIPp can be used to test to reproduce hundreds calls ?<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
----- Original Message ----- <BR>
<BR>
<B>From:</B> Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">mailto:anthony.minessale@gmail.com</a>> <BR>
<BR>
<B>To:</B> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">mailto:freeswitch-users@lists.freeswitch.org</a>> <BR>
<BR>
<B>Sent:</B> Thursday, October 27, 2011 1:39 PM<BR>
<BR>
<B>Subject:</B> Re: [Freeswitch-users] High load on database server<BR>
<BR>
<BR>
BTW I know it's a contradiction to tell you to consider older ODBC and newer FS but I wrote FS so I can attest to its stability especially the ODBC code in the core. <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On Thu, Oct 27, 2011 at 12:36 PM, Anthony Minessale <<a href="anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
Let's recap<BR>
<BR>
<BR>
<BR>
You have 4 moving parts, you have various versions of all 4 to choose from and even different implementations of 3 of the 4.<BR>
<BR>
<BR>
ODBC LIB <BR>
ODBC DRIVER<BR>
<BR>
DATABASE<BR>
<BR>
FS<BR>
<BR>
<BR>
<BR>
You must choose a stable combination of all 4 which may require specific configuration of each component as well.<BR>
<BR>
<BR>
<BR>
My only issue is FUD, I do not want people to advertise that FS does not work on ODBC under load when the whole story is FS does not work under load when you use fooODBC with barDRIVER with basBASE database server configured a particular way.<BR>
<BR>
<BR>
<BR>
It should never crash, if it does, its a bug in something. I can speak for FS that there is no bug there. The other 3 are variables. <BR>
<BR>
Remember this next time there is a discussion about using system libs and why we build our own depends. The one thing we use system libs for, ODBC, is a huge PITA.........<BR>
<BR>
<BR>
<BR>
Things to remember:<BR>
<BR>
<BR>
<BR>
1) try the Threading=0 in the odbcinst.ini, this is a serious problem and has been made the default in latest versions.<BR>
<BR>
2) If you must use Mysql, enable transactions and make sure your odbc.ini is referencing the threadsafe version of the lib <BR>
<BR>
libmyodbc3_r.so <-- note _r<BR>
<BR>
3) Try various combos of drivers and odbc libs, many time newer is not better, stable versions lie in the past.<BR>
<BR>
4) build the drivers and odbc yourself or get the debug symbols so you can get a backtrace, you could be finding a bug for them.......<BR>
<BR>
5) Find a test to reproduce your problem so you can try different database engines and driver combos.<BR>
<BR>
6) Make sure you are on latest FS git so you know you have a stable copy.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Anyway, this is a pain, that's why ppl pay you to do it.<BR>
<BR>
Discuss this all you want here, just minimize any FUD to scare away people who want to use it.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On Thu, Oct 27, 2011 at 12:24 PM, Hynek Cihlar <<a href="hynek.cihlar@gmail.com">hynek.cihlar@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Do not agree. Issues happening under extreme cases like high load with<BR>
some specific conditions are hard to reproduce, sharing the<BR>
information in this case is a lot more efficient, for all.<BR>
<BR>
<BR>
Sent from my mobile device<BR>
<BR>
<BR>
<BR>
<BR>
On Oct 27, 2011, at 18:56, Robert Huddleston <<a href="rhuddleston@gmail.com">rhuddleston@gmail.com</a>> wrote:<BR>
<BR>
> My bologna has a first name - it's O S C A R...<BR>
><BR>
> This topic is getting really old... I have to agree with Antm - get out of<BR>
> the lazy pants and do some research / hard work.<BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: <a href="freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><BR>
> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Sergey<BR>
> Okhapkin<BR>
> Sent: Thursday, October 27, 2011 12:43 PM<BR>
> To: FreeSWITCH Users Help<BR>
> Subject: Re: [Freeswitch-users] High load on database server<BR>
><BR>
> What do you mean "shared ODBC"?<BR>
><BR>
> On Thursday 27 October 2011, Madovsky wrote:<BR>
>> but, is anyone experienced that with shared ODBC ? (managing more than 330<BR>
>> concurrent calls)<BR>
>><BR>
>> ----- Original Message -----<BR>
>> From: "Madovsky" <<a href="infos@madovsky.org">infos@madovsky.org</a>><BR>
>> To: "FreeSWITCH Users Help" <<a href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><BR>
>> Sent: Thursday, October 27, 2011 12:33 PM<BR>
>> Subject: Re: [Freeswitch-users] High load on database server<BR>
>><BR>
>>> ha ok, good luck so<BR>
>>><BR>
>>> ----- Original Message -----<BR>
>>> From: "Cliff Wells" <<a href="cliff@develix.com">cliff@develix.com</a>><BR>
>>> To: "FreeSWITCH Users Help" <<a href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><BR>
>>> Sent: Thursday, October 27, 2011 12:26 PM<BR>
>>> Subject: Re: [Freeswitch-users] High load on database server<BR>
>>><BR>
>>>> On Thu, 2011-10-27 at 11:55 -0400, Madovsky wrote:<BR>
>>>>> I means that depend the quality of your script ;)<BR>
>>>><BR>
>>>> Quality isn't the issue here. The script is too simple to be incorrect<BR>
>>>> (and it carefully releases the odbc connection back to the pool in a<BR>
>>>> hangup handler). I have written poor-quality code plenty of times, but<BR>
>>>> 25 years as a programmer usually allows me the luxury of knowing when<BR>
>>>> I'm doing it, thanks.<BR>
>>>><BR>
>>>> In any case, Lua scripts work fine. Google will tell you that unixODBC<BR>
>>>> before 2.3.0 was a bit of a mess, so I expect the issue lies there, but<BR>
>>>> again, I emphasize, everything WORKS GREAT (been using it for a couple<BR>
>>>> of years now) until you get to very high concurrency (about 330<BR>
>>>> concurrent calls on a single system). If you don't expect to handle<BR>
>>>> more than 300 concurrent calls, then you do not need to worry about it.<BR>
>>>> At all.<BR>
>>>><BR>
>>>> Regards,<BR>
>>>> Cliff<BR>
>>>><BR>
>>>><BR>
>>>><BR>
>>>> FreeSWITCH-users mailing list<BR>
>>>> <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
>>>><BR>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
>>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
>><BR>
>> FreeSWITCH-users mailing list<BR>
>> <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
><BR>
><BR>
><BR>
> FreeSWITCH-users mailing list<BR>
> <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
><BR>
><BR>
><BR>
> FreeSWITCH-users mailing list<BR>
> <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>
</BODY>
</HTML>