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

Re: Memory leak in 2.4.31 w/ hdb and MMR?

Brandon Hume wrote:
   On 05/18/12 03:36 PM, Quanah Gibson-Mount wrote:
Are you using shm keys with BDB?

Not at this time.

I don't know anyone who is using BDB 5.3 at this point in time.  I
would back down to something less recent and see if you see the same
issue.  I've used BDB 4.7 for quite some time w/o issue.

Well, with 4.8.30, the problem is still evident.  Overall, using
delta-syncrepl seems to make a large difference.  With my previous test
(still with bdb 5.3) and delta-syncrepl, the slapd process grew to 16G
before dying.  With delta off (removing the 'syncdata=accesslog
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"' portion of
the olcSyncrepl line) the node started and finished loading the entire
DB and grew to about 5.7G in total.

The fact that switching off delta changes the behavior would point pretty squarely at a bug in the delta-sync consumer code, not anything in the underlying backend. If you can produce a small test case to demonstrate the problem, it would be a good idea to post this to the ITS.

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