Univention Bugzilla – Bug 32354
Cyrus DB_CONFIG per UCR
Last modified: 2020-04-17 11:41:52 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 -- <http://tagebuch.localwurst.de/2008/11/09/cyrus-dberror-db4-logging-region-out-of-memory/> <http://www.cjc.org/blog/archives/2006/08/22/cyrus-imap-log-and-cache-settings/>
Cyrus is out of maintenance.