Hi WPMUers,
Any of you using HyperDB plugin, and encountering clogs in hostname lookups?
I am using it with something like:
add_db_server('global', 0,'', 0, 1, '', 'writer.mydomain.com', 'db_name', 'db_user', 'db_pass');
add_db_server('global', 0,'', 1, 0, '', 'reader1.mydomain.com', 'db_name', 'db_user', 'db_pass');
And it seems that the functions using the db hostnames (fsockopen(), mysql_connect() etc.) are not caching the lookup response (I am using DNS and not the hosts file, and not using nscd).
Therefore I have about 200 DNS requests per minute with low loads, and this the WPMU box can handle, but when loads peak the lookups hang (and all the WPMU with them!) for a couple of minutes until the load clears.
Any input is appreciated.
Thanks,
Oren