Hi, I have a question on the way to use Berkeley db in Cyrus. As you may see, some body posted on a problem that imapd hung. I found it several times whenever massively testing Cyrus with postfix/smtpstone with '-L' (lmtp) option. I think it would be a locking problem caused by Berkeley db engine. The locking problem comes from various situation: (1) some lmtpd/imapd dead by interrupt(11, 9, or other) (2) some potential bug (sorry, I am not sure)
I think that there should be a dedicated process managing mailbox db to avoid such problems. So I tried to compile Berkeley DB with 'rpc' option and modified the Cyrus imapd to use Berkeley db rpc server(bundled single thread version) At that time, imapd goes also hung. I don't know yet what caused such a problem. Any comment would be appreciated. ---------- Tawan Won