Bug 49709 - Improve documentation / error message if listener/cache/mdb/maxsize is too small
Improve documentation / error message if listener/cache/mdb/maxsize is too small
Status: NEW
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
: 47495 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2019-06-24 13:01 CEST by Arvid Requate
Modified: 2019-09-18 13:25 CEST (History)
3 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?: 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:

improve_error_message_for_MDB_MAP_FULL.patch (1.28 KB, patch)
2019-06-24 13:01 CEST, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2019-06-24 13:01:37 CEST
Created attachment 10080 [details]

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.