I would try the latest git code. I re-factored some of those pooling behaviors recently.<div><br><br><div class="gmail_quote">2010/7/20 Juan Antonio Ibañez Santorum <span dir="ltr"><<a href="mailto:juanito1982@gmail.com">juanito1982@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello!<br><br> I am working with a own module which accesses to a MySQL DB using core ODBC connections. For each query I call switch_cache_db_get_db_handle(&dbh, SCDB_TYPE_ODBC, &options) to get a DB handle and switch_cache_db_release_db_handle() for releasing it. I can see as FS opens one connection for each concurrent call but maintains them openned once hanged up. If you exceed higher number of concurrent calls in the past, new connections are openned. For example, doing 10 concurrent calls, 10 connections to MySQL are created. If you wait these 10 calls to end and make 5 new calls, FS seems to use 5 of the connections already open, FS does not open 5 new connections. Is that the way it must work? Must DB connections maintained openned once hanged up the calls?<br>
<br> After some minutes, openned connections are closed but I can read by console "Error in my_thread_global_end(): XXX threads didn't exit" where XXX tells number of connections openned. Is there a real Error or may it be considered ok? I read It could be a problem with MySQL driver version but I tried to use newest (5.1.6) with the same result...<br>
<br>Regards<br>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>