Quanah Gibson-Mount wrote:
--On Wednesday, April 14, 2021 9:42 PM +0000 Leonardo Bruno Lopes leonardo@cefetmg.br wrote:
I have OpenLDAP (version 2.4.47) and LMDB (version 0.9.22) installed from Debian 10 default packages in a amd64 box.
First, upgrade to a current release. 2.4.47 is not safe to use with replication.
Apr 14 09:47:56 my-ldap-box slapd[20736]: mdb_opinfo_get: err MDB_MAP_RESIZED: Database contents grew beyond environment mapsize(-30785)
You failed to set a maxsize on the accesslog database, so it's using the default of 10MB. You need to increase its size, as it's clearly running out of space.
No, that's MDB_MAP_FULL. This particular error means some other process opened the environment and increased the mapsize. Currently back-mdb doesn't handle this error code because nobody should ever be doing that to an OpenLDAP installation.