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

Re: (ITS#7292) Memory leak with MMR + delta syncrepl

--On Wednesday, June 06, 2012 2:33 PM +0000 brandon.hume@dal.ca wrote:

> Full_Name: Brandon Hume
> Version: 2.4.31
> OS: RHEL EL6.1, kernel 2.6.32-131.12.1.el6.x86_64
> URL: http://den.bofh.ca/~hume/ol-2.4.31_memleak.tar.gz
> Submission from: (NULL) (2001:410:a010:2:223:aeff:fe74:400e)
> OpenLDAP 2.4.31 compiled in 64-bit with BerkeleyDB 5.3.15 appears to
> exhibit a memory leak while replicating the full database from another
> node in MMR.

There are definite errors in your cn=config configuration.

a) You have multiple databases numbered "1":
dn: olcDatabase={1}hdb,cn=config
dn: olcDatabase={1}monitor,cn=config

b) Syncprov overlay for accesslog:
dn: olcOverlay={0}syncprov,olcDatabase={1}hdb,cn=config
Remove the checkpoint and sessionlog settings

c) There should be no sessionlog on the primary DB with delta-syncrepl MMR:
dn: olcOverlay={0}syncprov,olcDatabase={2}hdb,cn=config
Remove olcSpSessionlog: 10000

These may not be causing the issue you are seeing, but they should be fixed 
and then the setup retested.  Of particular concern to me is item (a).  I 
would make cn=monitor be olcDatabase {3}.



Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
Zimbra ::  the leader in open source messaging and collaboration