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

Re: (ITS#6389) Allow setting syncrepl keepalive

hyc@symas.com wrote:
> quanah@zimbra.com wrote:
>> Full_Name: Quanah Gibson-Mount
>> Version: 2.4.19
>> OS: NA
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (
>> When configuring a replica using syncrepl, it should be possible to have an
>> option that sets the keepalive used for the tcp connection between the replica
>> and master.  Support for this was added to libldap, but no corresponding support
>> was added to the syncrepl stanza.  I'd suggest a keyword like "keepalive" for
>> configuring this, based in seconds.
> This is low priority. Few platforms provide support for
> process/socket-specific keepalive settings. Usually you just set it
> system-wide in the kernel. (Note that a single setting is insufficient, there
> are 3 parameters that need to be set in concert.)

I suggest moving this info into the slap_bindconf structure, to allow 
its exploitation anywhere connections need to be set up, and defining a 
syntax like keepalive="[<idle>]:[<probe>]:[<intervals>]".  An empty 
value would mean use the default.