OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Software Bugs/7471
Full headers

From: quanah@openldap.org
Subject: MDB resize on the fly is broken in RE24
Compose comment
Download message
State:
0 replies:
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Tue, 11 Dec 2012 18:58:56 +0000
From: quanah@openldap.org
To: openldap-its@OpenLDAP.org
Subject: MDB resize on the fly is broken in RE24
Full_Name: Quanah Gibson-Mount
Version: RE24 12/11/2012
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (74.196.25.250)


In the 2.4.33 release of OpenLDAP, it was possibly to resize an MDB database by
modifying olcDbMaxsize while slapd was running.  This functionality no longer
works in current RE24.  This is highly desirable behavior, as one may wish to
reduce the maximum DB size after determining how large the actual MDB is.  With
current RE24, changing olcDbMaxsize to a smaller value leaves the data.mdb file
the same size as it was before.

2.4.33 behavior:

80GB initial maxsize: zimbra@zre-ldap002:~$ ls -l data/ldap/mdb/db
total 692
-rw------- 1 zimbra zimbra 85899345920 Dec 11 10:46 data.mdb

After modifying cn=config with a 10MB maxsize:

zimbra@zre-ldap002:~$ ls -l data/ldap/mdb/db
total 692
-rw------- 1 zimbra zimbra 10485760 Dec 11 10:51 data.mdb


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org