[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Syncrepl losing connection
- To: openldap-technical@openldap.org
- Subject: Re: Syncrepl losing connection
- From: Nick Milas <nick@eurobjects.com>
- Date: Thu, 2 Mar 2017 13:08:37 +0200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eurobjects.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FnFWMO0Fs6LMJLooi4M138FGU6NuWoriA3XQvhGluQg=; b=aUwfoVGPLNRvXnSMkZPpFfjelZ I0Kqg1z+NGMCPjAZTbqLDe3pWp1J/FbLgniXS9LRAQZ3oGw2Id+Orj3+HQVthe9BOvP/RLG+ZA9xp zNIX+V3iK4B3viia2ZcaP9pu+/hseEkhfMT/bGU5ta861gmw0UzYNsMhO7h/fLgHbB16BJyTl18p3 bhu+W/jAtJZUSKwiIkj8OjySt+bXjkrA/7Vib4royl6RAfIrffie7ZLTSGpZopOz6udHgRkKQgdU5 UF+jQrbo6YQQYCatUa37wsofTxldU8PAbQf7yRA+ZuA/cvNb1naFDULWcKa2i9IwYe5nigs2rEAa+ p1H3XhVw==;
- In-reply-to: <63D225307AFF33F1DE6D1569@[192.168.1.30]>
- References: <24659d67-f6c6-d744-17fd-cc481970b679@eurobjects.com> <WM!7dda7b3d5d5a75f907ba4016bb74292b0dca3d945e6221634bbea8c19cd36d782388f3b88b6dad8ca2c033e1b21dc8aa!@mailstronghold-2.zmailcloud.com> <63D225307AFF33F1DE6D1569@[192.168.1.30]>
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
On 2/3/2017 12:17 πμ, Quanah Gibson-Mount wrote:
Have you tried setting the "keepalive" parameter in your syncrepl
configs?
Thank you Quanah,
I just added (to syncrepl config):
keepalive=20:100:2
Any suggestions on the selected values? What are the default ones? (I
haven't found them in docs.)
I will monitor the situation and I'll let you know of the outcome.
Has such an issue been reported by others in recent versions? Why didn't
I have this problem with all versions until 2.4.39 (on CentOS 5)?
Some notes follow:
Interestingly, in the documentation:
http://www.openldap.org/doc/admin24/replication.html
http://www.openldap.org/doc/admin24/slapdconfig.html#Configuration%20File%20Directives
...I don't see any reference to the keepalive parameter.
However, "man slapd.conf" states:
The keepalive parameter sets the values of idle, probes, and
interval used to check whether a socket is alive; idle is the number
of seconds a connection needs to remain idle before TCP starts
sending keepalive probes; probes is the maximum number of keepalive
probes TCP should send before dropping the connection;
interval is interval in seconds between individual keepalive
probes. Only some systems support the customization of these
values; the keepalive parameter is ignored otherwise, and
system-wide settings are used.
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.
Please advise.
Thanks,
Nick