2.1.16->2.2.3 on Linux

Ian G Batten I.G.Batten at ftel.co.uk
Tue Feb 3 10:55:10 EST 2004


On my small personal server, supporting a few family members, I run
Cyrus latest where possible.  I was running 2.1.16 with every database
set to skiplist.  Upgrading to 2.2.3 with the same ./configure command

./configure --with-openssl --with-sasl --without-cmulocal
  --with-cyrus-user= cyrus --with-cyrus-group=cyrus
  --with-duplicate-db=skiplist --with-mboxlist-db=s kiplist
  --with-seen-db=skiplist --with-subs-db=skiplist --with-tls-db=skiplist -
  -with-idle=idled

left lmtpd, cvt_cyrusdb, and possibly other things, hanging.
strace revealed this:

open("/var/imap/db/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=72, ...}) = 0
open("/var/imap/db/__db.001", O_RDWR)   = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0600, st_size=8192, ...}) = 0
close(3)                                = 0
open("/var/imap/db/__db.001", O_RDWR)   = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x40018000
close(3)                                = 0
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)

Reconstructing all the user mailboxes cured the problem.

ian




More information about the Info-cyrus mailing list