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

Re: (ITS#8147) syncrepl fails when encountering bad data, master leaks memory

mark.bannister@morganstanley.com wrote:
> Full_Name: Mark Bannister
> Version: 2.4.30
> OS: Oracle Solaris 11.2
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> I have a master server and a replica configured with syncrepl in
> refreshAndPersist mode.  I?m using bdb (not mdb), simple auth (not SASL),
> standard syncrepl (not delta-syncrepl).
> I noticed that the directory has about 5 erroneous entries in 300,000 where
> there is a multi-valued attribute containing two identical values.  These
> entries were added by slapadd -q.  Here is an example:
> dn: cn=test,ou=rpc,dc=mycompany,dc=com
> objectClass: oncRpc
> cn: test
> cn: test
> oncRpcNumber: 12345678

The docs already tell you to only use slapadd with known-good data.

> I did see that a number of memory leaks have been fixed since 2.4.30, but I
> didn't see anything that looked like this profile.  Sorry I don't have a newer
> version of OpenLDAP to hand to re-test.

Closing this ITS. You can followup again if you see the same problem in the 
current 2.4.41 release candidate. 2.4.30 is over 3 years old, no one is going 
to investigate this.

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