[asterisk-users] Concurrent calls including mysql taking lot of time for execution

Matt Riddell lists at venturevoip.com
Wed Oct 21 16:01:24 CDT 2009


On 22/10/09 8:56 AM, David Backeberg wrote:
> On Wed, Oct 21, 2009 at 2:30 PM, das sandesh<sandesh440 at 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)



More information about the asterisk-users mailing list