[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Syncrepl losing connection



--On Thursday, March 02, 2017 1:08 PM +0200 Nick Milas <nick@eurobjects.com> wrote:


Since "only some systems support the customization of these values; the
keepalive parameter is ignored otherwise", how can I make sure that this
parameter has been configured successfully and is enabled on my system
(CentOS 7)? I enabled "loglevel config stats sync"but I don't see any
mention of configured syncrepl parameters during OpenLDAP start.

Hi Nick,

The keepalive parameter was added after the initial 2.4 release, and after the current sections on replication in the admin guide were written. It was created because I kept encountering issues at customer sites where load balancers & packet shapers were closing the syncrepl connection.

I use the following: keepalive=240:10:30

The 240 because most of the hardware causing problems used a 5 minute timeout, so 240 was nicely under that.

If setting this resolves your problem, then you have something in your network monitoring and severing connections.

Regards,
Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>