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

David Gibbons dave at videon-central.com
Fri Nov 6 08:01:51 CST 2009


I've seen asterisk really bog in internal networks if the mysql server has name resolution turned on (dns issues of course). The query will be blocked until the name resolution times out.

Try adding this line the [mysqld] section of your my.cnf:

[mysqld]
skip-name-resolv

That sent a server from ~10 seconds/query down to milliseconds.

--Dave




More information about the asterisk-users mailing list