Windl, Ulrich wrote:
> Howard,
> 
> You are right that one can read every thing from the schema, but given there 
> are manual pages, it would not be too much work to put the most essential 
> facts there. I know that developers don't like to write manual pages, and it 
> can be a frustrating experience to realize that most users won't read them. 
> Still I believe in manual pages 😉

As a developer I believe in manual pages too. I also believe in only writing 
what is necessary and sufficient,
which is what we have done for all of the code we have written. If you want 
anything further, contribute it
yourself. It surely doesn't take specialized developer skills to do so.

> Kind regards,
> Ulrich Windl
> 
>> -----Original Message-----
>> From: Howard Chu <[email protected]>
>> Sent: Friday, February 28, 2025 5:03 PM
>> To: Windl, Ulrich <[email protected]>; [email protected]
>> Subject: [EXT] Re: manual page slapd-mdb.5 and "maxsize"
>>
>> 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 it’s 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     BLOCKEDhighlandsun[.]com/hyc/BLOCKED
>>   Chief Architect, OpenLDAP  http://www.openldap.org/project/
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to