On Fri, Jul 18, 2008 at 6:10 PM, Per olof Ljungmark <peo@xxxxxxxxxxxxx> wrote: > Simon Matter wrote: >>> Hi all, >>> >>> Could some kind soul recommend what patches it makes sense to apply >>> since the latest release? There are a number of them circulating on the >>> list but I cannot figure out for sure which ones are generally safe and >>> recommended. >>> >>> In particular, anything that addresses >>> DBERROR db4: 176 lockers >>> (We don't use Berkeley at all. Switched statuscache.db from >> >> I think there is something strange with your current config. If >> Cyrus-imapd doesn't use any BDB then I think there will never be any of >> those messages in your logs. Did you switch from BDB to skiplist and not >> removing some BDB stuff? >> >> To get rid of anything left you should be able to do the following: >> - Cleanly shutdown Cyrus >> - go to $configdir >> - mkdir db.old >> - mv db/* db.old/ >> - db.backup* db.old/ >> - Start Cyrus >> > > Thanks for the advice, cannot shut server down right now however. I > changed statuscache.db from berkely-nosync to skiplist (to see if the > error went away) but also deleted statuscache.db in between. All else > has been skiplist or flat for a long long time. > > The error in question started to appear after upgrade from 2.3.11 to > 2.3.12-p2 when I used berkely-nosync for the statuscache. > > Would not the db.backup* files already be in the same stae, they are > recreated every 30 minutes...? This is configured in your cyrus.conf . Do you have this error every 30min ? > > > imapd.conf > > configdirectory: /var/imap > defaultdomain: example.com > virtdomains: off > altnamespace: on > unixhierarchysep: 1 > singleinstancestore: 0 > reject8bit: no > quotawarn: 95 > quotawarnkb: 20000 > lmtp_over_quota_perm_failure: 1 > lmtp_strict_quota: 0 > lmtp_downcase_rcpt: yes > timeout: 60 > # Delayed expunge, see also cyrus.conf > # expunge_mode: delayed > poptimeout: 15 > popminpoll: 0 > # We are using LDAP: > username_tolower: on > # username_tolower: off > ### Sync section #### > sync_authname: cyrus > sync_host: <IP> > # # sync_realm: > sync_password: password > sync_repeat_interval: 5 > sync_log: 1 > sync_machineid: 1 > sync_shutdown_file: /var/imap/shutdown-sync > sync_batch_size: 500 > guid_mode: sha1 > ### End sync directives ### > > partition-default: /var/spool/imap > admins: cyrus admin > autocreatequota: 500000 > createonpost: on > autocreateinboxfolders: Sent|Trash|Drafts|Templates > autosubscribeinboxfolders: Sent|Trash > sieveusehomedir: false > sievedir: /var/imap/sieve > sieve_maxscriptsize: 64 > sieve_maxscripts: 8 > sieve_tls_cert_file: disabled > sieve_tls_key_file: disabled > sendmail: /usr/sbin/sendmail > postmaster: postmaster > duplicatesuppression: 0 > > annotation_db: skiplist > mboxlist_db: skiplist > seenstate_db: skiplist > subscription_db: flat > tlscache_db: skiplist > ptscache_db: skiplist > duplicate_db: skiplist > # statuscache_db: berkeley-nosync > statatuscache_db: skiplist > statuscache: 1 > ---- > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > -- Alain Spineux aspineux gmail com May the sources be with you ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html