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

Re: MDB map size = maxsize ?



On 24/01/17 12:05, Tamás Rébeli-Szabó wrote:
[openldap@soa-srv]$ grep maxsize slapd.conf

maxsize   4294967296

[openldap@soa-srv]$ mdb_stat -e openldap-data____
(...)
  Map size: 1073741824

I was under the impression that maxsize is the same as map size.
However, map size here is 1GB, whereas maxsize is 4GB, even after slapd
is restarted. Why this apparent discrepancy?

mdb_stat shows the config which stored in the MDB database itself.
slapd.conf's maxsize overrides it.  IIRC A new maxsize should show
up in mdb_stat once slapd has done an LDAP write operation so the
MDB database gets updated.