cyrus-imapd exporting databases failed on shutdown - deliver.db.skiplist 2048M

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I run into a problem on an old clearos server, where the cyrus shutdown always failed at step exporting databases.
As I checked the situation using ps ax on an other console, I found that, it was exporting deliver.db.skiplist file, which failed after a loooong time (some minutes).
I checked that file on the filesystem, I saw the file size is 2048MB, which seems a limit for me and I suspect the problem should be that, the 32 bit cyrus cannot write more data to that file and caused the problem.
As I read the db_export.log, that confirmed my theory, file size limit exceeded.

This kind of issue causes long hangup at system shutdown and I guess causes other potential problems, as this file could be truncated and useless.

My question, do you have any idea/hint, what to do to get it work?
For example, changing export.db format to something else? (How?)
Thank you!

I copied some important information below, please check it.

db_export.log:
cvt_cyrusdb_all version: 1.2.1
db_checkpoint: open: No such file or directory
/usr/lib/cyrus-imapd/cvt_cyrusdb_all: line 199:  9150 File size limit exceeded$cvt_cyrusdb "$target" "$old_db" "${target}.skiplist" skiplist
ERROR: unable to convert /var/lib/imap/deliver.db from berkeley to skiplist
removed `/var/lib/imap/db/log.0000000001'
removed `/var/lib/imap/db/__db.001'
removed `/var/lib/imap/db/__db.002'
removed `/var/lib/imap/db/__db.003'
removed `/var/lib/imap/db/__db.004'
removed `/var/lib/imap/db/__db.005'
removed `/var/lib/imap/db/__db.006'
removed `/var/lib/imap/db/__db.007'
removed `/var/lib/imap/db/__db.008'
removed `/var/lib/imap/db/__db.009'
removed `/var/lib/imap/db/__db.010'
removed `/var/lib/imap/db/__db.011'
removed `/var/lib/imap/db/__db.012'

The system details:
  • Clearos 5.2 32 bit
  • Cyrus is 2.3.11
  • kernel 2.6.18-308.1.1.v5
  • filesystem is ext3 (no problem to write 200-300GB into a single file)
  • size of email folder (/var/spool/imap/*): 1007 GB
  • size of /var/lib/imap/deliver.db 48MB

Other interesting config files:

db.cfg.cache content
annotation_db=skiplist
duplicate_db=berkeley
mboxkey_db=skiplist
mboxlist_db=skiplist
ptscache_db=berkeley
quota_db=quota
legacyseenstate_db=skiplist
sieve_version=2.2.3
subscription_db=flat
tlscache_db=berkeley

/var/lib/imap/db/DB_CONFIG
set_cachesize 0 8388608 8
set_lg_regionmax 5242880
set_lg_bsize 8097152



Thank you!

István (Steve)
----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux