multiple statuscache db (only Invoca rpm?)

Simon Matter simon.matter at invoca.ch
Fri Feb 8 13:59:10 EST 2013


> Hello cyrus user,
>
>   on my cyrus-imapd server I see this:
>
> man imapd.conf:
>
>         statuscache: 0
>              Enable/disable the imap status cache.
>
>         statuscache_db: skiplist
>              The cyrusdb backend to use for the imap status cache.
>
>              Allowed values: berkeley, berkeley-nosync, berkeley-hash,
> berkeley-hash-nosync, skiplist
>
>         statuscache_db_path: {configdirectory}/volatile/statuscache.db
>              The absolute path to the statuscache db file.
>
>
> In my imapd.conf I set:
> statuscache: 1
>
> Every time I restart cyrus-imapd, a copy of
> /var/lib/imap/volatile/statuscache.db appears on /var/lib/imap path:

What kind of problem do you see?
The idea behind the volatile/ directory is that you can put it on tmpfs
for performance reason if you like and the files there are saved to
/var/lib/imap/ on shutdown and restored from there on startup.
And yes, that's Invoca rpm specific.

>
> #ls -l /var/lib/imap/
> total 68
> -rw------- 1 cyrus mail  852 Feb  8 09:15 annotations.db
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 backup
> drwx------ 2 cyrus mail 4096 Feb  8 08:52 db
> drwx------ 2 cyrus mail 4096 Feb  8 09:15 db.backup1
> drwx------ 2 cyrus mail 4096 Feb  8 09:10 db.backup2
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 log
> -rw------- 1 cyrus mail  144 Feb  8 09:15 mailboxes.db
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 meta
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 msg
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 ptclient
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 quota
> drwx------ 2 cyrus mail 4096 Feb  8 09:15 rpm
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 sieve
> drwxr-x--- 2 cyrus mail 4096 Feb  8 09:15 socket
> -rw------- 1 cyrus mail  144 Feb  8 09:10 statuscache.db
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 sync
> drwx------ 2 cyrus mail 4096 Jan 14 08:43 user
> drwx-----T 2 cyrus mail   60 Feb  8 09:15 volatile
>
> I have to remove it by hand...

Why? Are there any problems?

Regards,
Simon

>
> I don't know if this happens only on Invoca rpm which I use:
>
> name       : Cyrus IMAPD
> version    : v2.4.17-Invoca-RPM-2.4.17-6.el6 d1df8aff 2012-12-01
> vendor     : Project Cyrus
> support-url: http://www.cyrusimap.org
> os         : Linux
> os-version : 2.6.32-279.el6.x86_64
> environment: Built w/Cyrus SASL 2.1.23
>               Running w/Cyrus SASL 2.1.23
>               Built w/OpenSSL 1.0.0-fips 29 Mar 2010
>               Running w/OpenSSL 1.0.0-fips 29 Mar 2010
>               Built w/zlib 1.2.3
>               Running w/zlib 1.2.3
>               CMU Sieve 2.4
>               TCP Wrappers
>               NET-SNMP
>               mmap = shared
>               lock = fcntl
>               nonblock = fcntl
>               idle = idled
>
> Regards
> Marco
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>




More information about the Info-cyrus mailing list