Bug 49709

Summary: Improve documentation / error message if listener/cache/mdb/maxsize is too small
Product: UCS Reporter: Arvid Requate <requate>
Component: Listener (univention-directory-listener)Assignee: UCS maintainers <ucs-maintainers>
Status: NEW --- QA Contact: UCS maintainers <ucs-maintainers>
Severity: normal    
Priority: P5 CC: hahn, requate, schwardt
Version: UCS 4.4   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=47495
https://forge.univention.org/bugzilla/show_bug.cgi?id=50114
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?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Attachments: improve_error_message_for_MDB_MAP_FULL.patch

Description Arvid Requate univentionstaff 2019-06-24 13:01:37 CEST
Created attachment 10080 [details]
improve_error_message_for_MDB_MAP_FULL.patch

The UCR variable listener/cache/mdb/maxsize is not well documented. In case an administrator finds

cache.c:469:cache_update_entry_in_transaction mdb_put: failed: MDB_MAP_FULL: Environment mapsize limit reached (-30792) 

in the listener.log s/he will not know what to do to fix this.

The attached (untested) patch shows how this could be improved in the code.
Comment 1 Arvid Requate univentionstaff 2019-06-25 13:27:14 CEST
*** Bug 47495 has been marked as a duplicate of this bug. ***
Comment 2 Arvid Requate univentionstaff 2019-06-25 13:27:47 CEST
See Bug 47495 for an additional patch.