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

Re: (ITS#6389) Allow setting syncrepl keepalive



Pierangelo Masarati wrote:
> hyc@symas.com wrote:
>> 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.

Sounds OK.

Ultimately we should consider moving syncrepl into its own config entry.
Perhaps for 2.5. Not sure if that affects slap_bindconf or not; that still
seems to be useful in its current form.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/