Hello,
we are using 2.4.41, and have run into MDB_MAP_FULL: Environment mapsize limit reached(-30792) "
Checking database size we see:
[openldap@soa-srv]$ grep maxsize slapd.conf
maxsize 4294967296
[openldap@soa-srv]$ mdb_stat -e openldap-data
Environment Info
Map address: (nil)
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?
Thanks,
tamas
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.
openldap-technical@openldap.org