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

Re: (ITS#8486) Syncprov sessionlog is inefficient, kills perf



quanah@zimbra.com wrote:
> --On Monday, August 29, 2016 9:16 PM +0000 quanah@openldap.org wrote:
> 
>> Full_Name: Quanah Gibson-Mount
>> Version: 2.4.44
>> OS: Linux 2.6
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (75.111.52.177)
> 
> In doing testing for ITS#8491, I encountered this problem in my lab.  Any
> time a single replica is parsing the session log, all other operations on
> the server come to a complete halt.  I.e., slapd does *nothing* other than
> handle the sessionlog query.  This seems like a fatal problem.

A patch for this is available for testing in 
https://github.com/quanah/openldap-scratch/tree/its8486. It no longer keeps 
the sessionlog mutex locked for the entire time that it's playing the log.

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