[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Unexpected growth in mdb database file
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Unexpected growth in mdb database file
- From: "Rene B. Elgaard" <rene.bach.elgaard@gmail.com>
- Date: Wed, 26 Nov 2014 12:04:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=0nuqZD4WfnGMBnPiqeu4rZK1MAZWXTU8qI+U1ZzASNo=; b=tyzbCIfQ73/Xosha2h3aTzE82z0/vJRy/Cy/oBjyQ+Cet3xatwN3g4H55jl3cKUHMH JLrMrYrHbGRoqfMCYX5p2kx2SyH/j33yKeFEiutJgDOhajf0ipRHhz/KZWWsZ+v61Ia1 eVQZF5B5QPDjf1fd1uclt0usYuHQ81TK0exSAxZqEa2TbloBaYq8qhljCGMpqSW8P+aI VHdJrJYRJiEoDbUh5KGGxvzWSPtad3EVfZLQOMMDKV4Aoj6EiFoOpJ5CQqpBEmZUlZsB bf7C02CaH4sWVWaQhZOhcHzkSAc/GGIT38Oyq7JAv5bQvh+j5ksyjATwOV4cv311RGpH tA7g==
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
I have gone through an upgrade proces from OpenLDAP 2.4.21 to 2.4.40 and
took the opportunity to switch from the bdb backend to mdb.
I am expiriencing an (in my eyes) unexpected growth of the mdb database
file.
Two types of setup:
Setup 1: One master, one slave
Setup 2: Two masters MMR (read,write,syncrepl goes to one master, three
slaves)
I see the growth in both setups on the master, who services read,write
and syncrepl.
In setup 2 the master, who is "idle" and only syncrepl's with the other
master, does not grow more than expected.
Example from setup 2:
Servicing master:
-rw------- 1 openldap openldap 4294963200 Nov 26 10:18 data.mdb
Non-servicing master:
-rw------- 1 openldap openldap 271347712 Nov 26 10:18 data.mdb
Quite a difference !
A slapcat on the servicing master shows that I have no where near 4 Gb
of data, here from my nightly backup:
-rw------- 1 openldap openldap 73389431 Nov 25 23:46
20141125234504_slapd-dump.ldif
I have the same backend configuration on all masters:
database mdb
maxsize 8589934592
suffix "c=<country>"
rootdn "cn=Manager,o=<some-org>,c=<country>"
rootpw <some-pw>
directory <some-path>
index objectClass,entryCSN,entryUUID eq
No overlays involved.
Operating system is Solaris 10.
OpenLDAP compiled with Oracles compiler, compiler flags are:
export CC="cc"
export CFLAGS="-m64 -fast -D_AVL_H"
Unsure how to proceed. Should I file an ITS (looks somewhat like 7974
though) ?
I may also have missed something entirely...
Happy to provide further info.
/Rene