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

(ITS#7466) syncreplication causes massive explosion in database size

Full_Name: Quanah Gibson-Mount
Version: RE24 12/7/2012
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

In a master/replica environment, sync replication causes a massive explosion in
database size on the replica.

For example, with a 25MB database, the size on disk grew from 25MB to 50MB in
the space of an hour (and it shows no signs of slowing down).  Entries in the
freelist grows without reducing:

[zimbra@ldap02-zcs ~]$ mdb_stat -f data/ldap/mdb/db
Freelist Status
  Tree depth: 2
  Branch pages: 1
  Leaf pages: 43
  Overflow pages: 0
  Entries: 987
  Free pages: 7441

In monitoring, it appears every change adds about 6 entries and 40+ free pages. 
id2e database looks the same as on the master.