Migrating to OpenLDAP 2.5 and MDB I hit the default 10MB limit (when trying to import a 6.8MB LDIF).

Seeking how to extend the size online, I found:

 

maxsize <bytes>

Specify the maximum size of the database in bytes. A memory map of this size is allocated at startup time and the database will not be allowed to grow beyond this size. The default is 10485760 bytes. This setting may be changed upward if the configured limit needs to be increased.

 

However it’s completely non-obvious that the name for cn=config is “olcDbMaxSize” (and not “olcMaxssize”).

 

(The final MDB file size was about 23MB, including the indices)

 

Kind regards,

Ulrich Windl