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

    <P></P><BR>FreeSWITCH-users mailing 
    list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>