Windl, Ulrich wrote: > 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>/ > <https://manpages.debian.org/testing/slapd/slapd-mdb.5.en.html#maxsize> > > 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 its completely non-obvious that the name for cn=config is > olcDbMaxSize (and not olcMaxssize).
The schema is self-documenting. Just read the olcMdbConfig objectclass and the descriptions of all of its attributes. e.g. `ldapsearch -H ldap://xxx -b cn=schema,cn=config -s base` -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/