Bug 39167 - Increase default mdb maxsize
Increase default mdb maxsize
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-6-errata
Assigned To: Jan Luttermann
Felix Botner
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-13 15:58 CEST by Arvid Requate
Modified: 2020-11-18 16:43 CET (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.429
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017110221000521, 2020102021000287, 2020100221000463, 2020063021000151, 2019110421000451
Bug group (optional): Large environments
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2015-08-13 15:58:51 CEST
We should increase the default for

ucr ldap/database/mdb/maxsize

currently this is 2BG.


"Set it to a few hundred GB"
  -- source http://www.openldap.org/lists/openldap-technical/201208/msg00177.html
Comment 1 Arvid Requate univentionstaff 2015-08-13 15:59:47 CEST
2GB.. not 2BG :-) No BGs here.
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:20:16 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Comment 3 Christian Völker univentionstaff 2020-10-20 12:42:55 CEST
More and more larger customers are having issues with the default size. 

Customer had this issue shortly after using the system.

It should be increased by default i.e. to the double size.

And it should happen to all three databases!

ucr set ldap/database/mdb/maxsize=4295000000
ucr set listener/cache/mdb/maxsize=4295000000

And translog database, too.
Comment 6 Jan Luttermann univentionstaff 2020-11-06 09:49:16 CET
Commit ID: 0f30d7f9

Changed packages:
 * univention-ldap
 * univention-directory-listener
Comment 7 Felix Botner univentionstaff 2020-11-09 10:04:18 CET
FAIL - changelog, please user the correct name of the UCR variable ldap/database/mdb/maxsize (


OK - univention-ldap, changing default to,
-> mdb_stat -e /var/lib/univention-directory-listener/cache| grep "Map size"
  Map size: 4295000000
-> /var/lib/univention-ldap# mdb_stat -e /var/lib/univention-ldap/ldap/ | grep "Map size"
  Map size: 4295000000
-> /var/lib/univention-ldap# mdb_stat -e /var/lib/univention-ldap/translog/ | grep "Map size"
  Map size: 4295000000
-> ucr get ldap/database/mdb/maxsize 
4295000000
  
   no change for update 
OK - MR
Comment 8 Felix Botner univentionstaff 2020-11-09 16:34:36 CET
OK - yaml file fixed