Bug 49709 - Improve documentation / error message if listener/cache/mdb/maxsize is too small
Summary: Improve documentation / error message if listener/cache/mdb/maxsize is too small
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UCS maintainers
QA Contact: UCS maintainers
URL:
Keywords:
: 47495 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-24 13:01 CEST by Arvid Requate
Modified: 2024-06-27 12:10 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):
Customer ID:
Max CVSS v3 score:


Attachments
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]
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.
Comment 3 Jan-Luca Kiok univentionstaff 2024-06-27 12:10:55 CEST
This issue has been filed against UCS 4.4.

UCS 4.4 is out of general maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.