On 22/10/09 8:56 AM, David Backeberg wrote: > On Wed, Oct 21, 2009 at 2:30 PM, das sandesh<sandesh...@gmail.com> wrote: >> I tried getting our server setup for 400-500 simultaneous calls, calls were >> going through properly but at around 200-250 calls, mysql (connect ...) >> statement was taking at least 5-10 sec to connect to the database. I >> optimized all possible parameters in my.cnf: > > My guess is DNS taking a long time to timeout? > > Trying changing the connection string to use straight ip address > rather than hostname.
Alternatively install a caching name server. In debian just do "apt-get install bind9" then change your nameserver to 127.0.0.1 -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users