Bug#626418: Fwd: Re: Bug#626418 closed by Ondřej Surý <ondrej at debian.org> (Bug#626418: fixed in cyrus-imapd-2.4 2.4.8-4)

Petr Vandrovec petr at vmware.com
Fri May 13 07:38:21 UTC 2011


Ondřej Surý wrote:
> I've dug somewhat deeper into the cyrus code and I'm going to remove
> the patch, because the Cyrus IMAPD bdb code is constantly
> opening/closing the database, so it would cause performance problems
> anyway.

Thanks.

> Sorry for the regression. I will fix that as soon as perl has hit the
> testing...  You can convert the affected database to (default)
> skiplist meanwhile.

Well, I already converted them to skiplist - for whatever reason 
upgrading code to update from 2.3 to 2.4 was not able to upgrade my db 
files automatically, so I did it manually, and as cyrus-db-types.txt 
said skiplist everywhere, I converted them:

petr-dev3:~$ cat /usr/lib/cyrus/cyrus-db-types.active
ANNOTATION skiplist
DBENGINE BerkeleyDB5.1
DUPLICATE skiplist
MBOX skiplist
PTS skiplist
QUOTA quotalegacy
SEEN skiplist
STATUSCACHE skiplist
SUBS flat
TLS skiplist
USERDENY flat

Unfortunately even in this config cyrus still uses libdb for something...
								Petr


> O.
>
> On Thu, May 12, 2011 at 23:18, Petr Vandrovec<petr at vmware.com>  wrote:
>> Hello,
>>    most of crashes in -4 are gone, but still it seems that
>> lmtpd/lmtpunix is dying:
>>
>> May 12 12:47:59 petr-dev3 cyrus/lmtpunix[2883]: DBERROR db5:
>> DB_ENV->get_home: method not permitted before handle's open method
>> May 12 12:47:59 petr-dev3 kernel: [ 7228.269495] lmtpd[2883]: segfault
>> at 7f1500000002 ip 00007f15980cddab sp 00007fffe2ae6408 error 4 in
>> lmtpd[7f1598069000+165000]
>> May 12 12:47:59 petr-dev3 cyrus/master[18238]: process 2883 exited, signaled
>> to death by 11
>> May 12 12:47:59 petr-dev3 cyrus/master[18238]: service lmtpunix pid 2883
>> in READY state: terminated abnormally
>>
>> And every now and then lmtpd is clearly not happy that environment was
>> removed by someone else:
>>
>> May 12 12:48:17 petr-dev3 postfix/smtpd[13104]: connect from
>> localhost.localdomain[127.0.0.1]
>> May 12 12:48:18 petr-dev3 postfix/smtpd[13104]: 0B6CD5380CF:
>> client=localhost.localdomain[127.0.0.1]
>> May 12 12:48:18 petr-dev3 postfix/cleanup[13107]: 0B6CD5380CF:
>> message-id=<bug-711764-1305229695-15784 at https.bugzilla.eng.vmware.com>
>> May 12 12:48:18 petr-dev3 postfix/qmgr[6643]: 0B6CD5380CF:
>> from=<bugzilla at vmware.com>, size=3848, nrcpt=1 (queue active)
>> May 12 12:48:18 petr-dev3 cyrus/master[13110]: about to exec
>> /usr/lib/cyrus/bin/lmtpd
>> May 12 12:48:18 petr-dev3 postfix/smtpd[13104]: disconnect from
>> localhost.localdomain[127.0.0.1]
>> May 12 12:48:18 petr-dev3 cyrus/lmtpunix[13110]: DBERROR db5:
>> /var/lib/cyrus/db/__db.001: No such file or directory
>> May 12 12:48:18 petr-dev3 cyrus/lmtpunix[13110]: DBERROR: dbenv->open
>> '/var/lib/cyrus/db' failed: No such file or directory
>> May 12 12:48:18 petr-dev3 cyrus/lmtpunix[13110]: DBERROR: init() on berkeley
>> May 12 12:48:18 petr-dev3 cyrus/lmtpunix[13110]: DBERROR: reading
>> /var/lib/cyrus/db/skipstamp, assuming the worst: No such file or directory
>> May 12 12:48:18 petr-dev3 cyrus/lmtpunix[13110]: executed
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: skiplist: checkpointed
>> /var/lib/cyrus/deliver.db (7985 records, 934500 bytes) in 1 second
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: skiplist: checkpointed
>> /var/lib/cyrus/mailboxes.db (48 records, 3872 bytes) in 0 seconds
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: skiplist: checkpointed
>> /var/lib/cyrus/annotations.db (0 records, 144 bytes) in 0 seconds
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: skiplist: checkpointed
>> /var/lib/cyrus/statuscache.db (0 records, 144 bytes) in 0 seconds
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: accepted connection
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: lmtp connection preauth'd
>> as postman
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: duplicate_check:
>> <bug-711764-1305229695-15784 at https.bugzilla.eng.vmware.com>
>> user.petr.Bugzilla   0
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: Delivered:
>> <bug-711764-1305229695-15784 at https.bugzilla.eng.vmware.com>  to mailbox:
>> user.petr.Bugzilla
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: duplicate_mark:
>> <bug-711764-1305229695-15784 at https.bugzilla.eng.vmware.com>
>> user.petr.Bugzilla   1305229700 365145
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: duplicate_mark:
>> <bug-711764-1305229695-15784 at https.bugzilla.eng.vmware.com>
>> .petr+ at .sieve.       1305229700 0
>> May 12 12:48:20 petr-dev3 cyrus/lmtpunix[13110]: USAGE petr user:
>> 0.070000 sys: 1.620000
>> May 12 12:48:20 petr-dev3 postfix/lmtp[13109]: 0B6CD5380CF:
>> to=<petr at localhost>,
>> relay=petr-dev3.eng.vmware.com[/var/run/cyrus/socket/lmtp], delay=2.1,
>> delays=0.14/0.03/1.9/0.05, dsn=2.1.5, status=sent (250 2.1.5 Ok
>> SESSIONID=<cyrus-13110-1305229700-1>)
>> May 12 12:48:20 petr-dev3 postfix/qmgr[6643]: 0B6CD5380CF: removed
>> May 12 12:49:30 petr-dev3 cyrus/lmtpunix[13110]: DBERROR db5:
>> DB_ENV->get_home: method not permitted before handle's open method
>> May 12 12:49:30 petr-dev3 cyrus/lmtpunix[13110]: DBERROR: error exiting
>> application: Invalid argument
>> May 12 12:49:30 petr-dev3 cyrus/master[18238]: process 13110 exited,
>> status 0
>>
>>                                                         Petr
>>
>>
>>
>> _______________________________________________
>> Pkg-Cyrus-imapd-Debian-devel mailing list
>> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel
>>
>
>
>






More information about the Pkg-Cyrus-imapd-Debian-devel mailing list