Bug#418615: cyrus21-imapd crashes if nsswitch is configured with ldap group support

Rico Barth rico.barth at cape-it.de
Wed Dec 12 17:30:13 UTC 2007


Hi Henrique!

We recently updated from libnss-ldap_251-7.5_ia64 to
libnss-ldap_251-7.5etch1_ia64. Now the error re-occurs. However, after 
downgrading to libnss-ldap_251-7.5_ia64 the error still occurs. Now 
the interesting part: before upgrading we've had no problems for a few 
months (see some postings above).

Now there is some new information. While switching and using POP3 instead 
of IMAP the very same error occurs in the log, when the very same deamon 
process is used:

Dec 12 17:09:53 athene cyrus/master[8848]: about to exec
/usr/lib/cyrus/bin/pop3d
Dec 12 17:09:53 athene cyrus/pop3s[8848]: executed
Dec 12 17:09:53 athene cyrus/pop3d[8848]: accepted
connection
Dec 12 17:09:53 athene cyrus/pop3d[8848]: mystore: starting
txn 2147484000
Dec 12 17:09:53 athene cyrus/pop3d[8848]: mystore:
committing txn 2147484000
Dec 12 17:09:53 athene cyrus/pop3d[8848]: starttls: TLSv1
with cipher AES256-SHA (256/256 bits new) no authentication
Dec 12 17:09:53 athene cyrus/pop3d[8848]: login:
localhost.localdomain[127.0.0.1] sales CRAM-MD5 User logged
in
Dec 12 17:09:53 athene cyrus/pop3d[8848]: accepted
connection
Dec 12 17:09:53 athene cyrus/pop3d[8848]: mydelete: starting
txn 2147484001
Dec 12 17:09:53 athene cyrus/pop3d[8848]: mydelete:
committing txn 2147484001
Dec 12 17:09:53 athene cyrus/pop3d[8848]: mystore: starting
txn 2147484002
Dec 12 17:09:53 athene cyrus/pop3d[8848]: mystore:
committing txn 2147484002
Dec 12 17:09:53 athene cyrus/pop3d[8848]: starttls: TLSv1
with cipher AES256-SHA (256/256 bits new) no authentication
Dec 12 17:09:53 athene cyrus/master[23030]: process 8848
exited, signaled to death by 6
Dec 12 17:09:53 athene cyrus/master[23030]: service pop3s
pid 8848 in BUSY state: terminated abnormally


the solution for this pop3d problem is to limit the number
of reuses of services. New services section in /etc/cyrus.conf looks like 
this:

SERVICES {
         # --- Normal cyrus spool, or Murder backends ---
         # add or remove based on preferences
         imap            cmd="imapd -U 1" listen="imap"
prefork=0 maxchild=100
         imaps           cmd="imapd -s -U 1" listen="imaps"
prefork=0 maxchild=100
         pop3            cmd="pop3d -U 1" listen="pop3"
prefork=0 maxchild=50
         pop3s           cmd="pop3d -s -U 1" listen="pop3s"
prefork=0 maxchild=50
...


For pop3d that works fine. But this isn't a solution for cyrus21-imapd.
In a few days/weeks we will try to upgrade to cyrus-2.2.


Regards,
Rico



-- 
Dipl.-Math. Rico Barth, Geschäftsführer/Projektleiter
c.a.p.e. IT GmbH
Annaberger Straße 240 , 09125 Chemnitz
phone/fax: +49 371 5347-621 / -625
mobile:    +49 176 66680786
mailto:    rico.barth at cape-it.de , PGP-Key: 0x874C8377
internet:  www.cape-it.de

Geschäftsführung Rico Barth, Thomas Maier
AG Chemnitz, HRB 23192


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