Re: Graceful handling of DB connectivity failures

From: Naresh V <nareshov_at_gmail.com>
Date: Sat, 19 Mar 2011 12:22:46 +0530

On 19 March 2011 11:39, Murray S. Kucherawy <msk_at_blackops.org> wrote:
> I tried it with your haproxy configuration, modified as described, and I
> couldn't reproduce the behaviour you saw except when haproxy was down
> completely.  Across restarts, opendkim dealt with the situation properly
> each time by reconnecting.
>
> This is haproxy-1.4.13 and opendkim-2.3.0 on FreeBSD.

I'm on an older version of haproxy -- I'll upgrade this to the latest
(with the patch you specified earlier) and look out for this error.

> The "Connection timed out" is the most worrisome part of the report, because
> it means opendkim had hung at that point somehow.  If you can reproduce that
> condition, a "gcore" followed by a "thread apply all bt" from inside "gdb"
> would be really helpful.
>

Certainly.

Thanks again,

-Naresh V.
Received on Sat Mar 19 2011 - 06:53:00 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sun May 15 2011 - 15:58:21 PST