[Pdns-dev] gmysql hangs if mysql server stops responding

bert hubert bert.hubert at netherlabs.nl
Sun May 1 22:28:51 CEST 2011

On Tue, Apr 26, 2011 at 12:37:12PM +0100, John Leach wrote:
> This patch sets the timeout at 10 seconds and the mysql library will
> retry 3 times by default, so it should be 30 seconds max before a
> reconnect.
> We've used pdns in conjunction with both mysql-proxy and haproxy for
> high availability and it's basically useless without this patch, as they
> both depend on the client timing out and reconnecting when a backend
> server goes down.

Applied, thanks!


More information about the Pdns-dev mailing list