Bug 32354 - Cyrus DB_CONFIG per UCR
Status: NEW
Product: UCS extended documentation
Classification: Unclassified
Component: Performance guide
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Docu maintainers
: interim-1
Depends on: 28464
  Show dependency treegraph
Reported: 2013-08-26 13:13 CEST by Moritz Muehlenhoff
Modified: 2013-08-26 13:13 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-08-26 13:13:24 CEST
Für den Performance Guide

+++ This bug was initially created as a clone of Bug #28464 +++

2012091121000928, 2011050910005118

Es sollte eine Möglichkeit geben die BDB Konfiguration der Cyrus Datenbanken in UCR anzupassen:

# cat /var/lib/cyrus/db/DB_CONFIG 
set_cachesize 0 2097152 1
set_lg_regionmax 1048576

Dort werden momentan die Standardwerte verwendet welche ziemlich niedrig angesetzt sind:

# db4.7_stat -h /var/lib/cyrus/db -mgrep -i "cache size"
641KB 752B      Total cache size
648KB   Pool individual cache size

# db4.7_stat -h /var/lib/cyrus/db -l |grep "region size"
96KB    Log region size

Ggf. sollten wir die Werte auch standardmäßig etwas höher ansetzen, zumindest die kleine "log region size" hat bereits bei Kunden zu Problemen geführt:
DBERROR db4: Logging region out of memory; you may need to increase its size
DBERROR: opening /var/lib/cyrus/deliver.db: Cannot allocate memory
DBERROR: opening /var/lib/cyrus/deliver.db: cyrusdb error
FATAL: lmtpd: unable to init duplicate delivery database