Hello all. I've just recently (this last weekend) migrated to Dovecot on my FreeBSD 4.x box. So far, so good, I like it a lot, and plan on moving mboxes to Maildirs sometime this next weekend. BUT....I've currently run into a problem. I'm seeing an error when one user account tries to access the INBOX from Squirrelmail: Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- transaction.c: line 250 (mail_cache_transaction_reserve_more): assertion failed: (size >= 2) I'm using 1.0-test63: Mar 6 04:17:47 cerebus dovecot: Dovecot v1.0-test63 starting up I've since blown away the .imap folder for this user and tried again, it still fails. Other user accounts are having no problems. Here are the relevant log snippets: Mar 6 16:18:02 cerebus dovecot: imap-login: Login: noproblems [127.0.0.1] Mar 6 16:48:48 cerebus dovecot: imap-login: Login: problemuser [127.0.0.1] Mar 6 16:48:49 cerebus dovecot: imap-login: Login: problemuser [127.0.0.1] Mar 6 16:48:52 cerebus dovecot: IMAP(problemuser): file mail-cache- transaction.c: line 250 (mail_cache_transaction_reserve_more): assertion failed: (size >= 2) Mar 6 16:48:52 cerebus dovecot: child 64331 (imap) killed with signal 6 Mar 6 16:48:52 cerebus dovecot: imap-login: Login: problemuser [127.0.0.1] Mar 6 16:50:42 cerebus dovecot: imap-login: Login: problemuser [127.0.0.1] Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- transaction.c: line 250 (mail_cache_transaction_reserve_more): assertion failed: (size >= 2) Mar 6 16:50:59 cerebus dovecot: child 64391 (imap) killed with signal 6 Mar 6 16:52:54 cerebus dovecot: imap-login: Login: problemuser [127.0.0.1] Mar 6 16:52:57 cerebus last message repeated 2 times Mar 6 16:52:58 cerebus dovecot: IMAP(problemuser): file mail-cache- transaction.c: line 250 (mail_cache_transaction_reserve_more): assertion failed: (size >= 2) Mar 6 16:52:58 cerebus dovecot: child 64420 (imap) killed with signal 6 Mar 6 16:53:31 cerebus dovecot: imap-login: Login: noprob2 [127.0.0.1] Mar 6 16:53:54 cerebus last message repeated 4 times Mar 6 16:56:12 cerebus last message repeated 12 times Mar 6 16:58:12 cerebus last message repeated 11 times Mar 6 16:58:30 cerebus dovecot: imap-login: Login: noproblems [127.0.0.1] Mar 6 16:58:34 cerebus last message repeated 2 times Any help would be appreciated. Thanks, Frank
The below error is when I check the account from Squirrelmail. In sqmail, the error it reports is this: ERROR : Connection dropped by imap-server. Query: FETCH 1:* (FLAGS UID RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Content-Type)]) ....yet when I check the account from Thunderbird, all is well. Don't know if that helps or confuses even more. Any ideas? Thanks. F. Even wrote:> Hello all. I've just recently (this last weekend) migrated to Dovecot > on my FreeBSD 4.x box. So far, so good, I like it a lot, and plan on > moving mboxes to Maildirs sometime this next weekend. > > BUT....I've currently run into a problem. I'm seeing an error when > one user account tries to access the INBOX from Squirrelmail: > > Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- > transaction.c: line 250 (mail_cache_transaction_reserve_more): > assertion failed: (size >= 2) > > I'm using 1.0-test63: > > Mar 6 04:17:47 cerebus dovecot: Dovecot v1.0-test63 starting up > > I've since blown away the .imap folder for this user and tried again, > it still fails. Other user accounts are having no problems. Here are > the relevant log snippets: > > Mar 6 16:18:02 cerebus dovecot: imap-login: Login: noproblems > [127.0.0.1] > Mar 6 16:48:48 cerebus dovecot: imap-login: Login: problemuser > [127.0.0.1] > Mar 6 16:48:49 cerebus dovecot: imap-login: Login: problemuser > [127.0.0.1] > Mar 6 16:48:52 cerebus dovecot: IMAP(problemuser): file mail-cache- > transaction.c: line 250 (mail_cache_transaction_reserve_more): > assertion failed: (size >= 2) > Mar 6 16:48:52 cerebus dovecot: child 64331 (imap) killed with signal > 6 > Mar 6 16:48:52 cerebus dovecot: imap-login: Login: problemuser > [127.0.0.1] > Mar 6 16:50:42 cerebus dovecot: imap-login: Login: problemuser > [127.0.0.1] > Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- > transaction.c: line 250 (mail_cache_transaction_reserve_more): > assertion failed: (size >= 2) > Mar 6 16:50:59 cerebus dovecot: child 64391 (imap) killed with signal > 6 > Mar 6 16:52:54 cerebus dovecot: imap-login: Login: problemuser > [127.0.0.1] > Mar 6 16:52:57 cerebus last message repeated 2 times > Mar 6 16:52:58 cerebus dovecot: IMAP(problemuser): file mail-cache- > transaction.c: line 250 (mail_cache_transaction_reserve_more): > assertion failed: (size >= 2) > Mar 6 16:52:58 cerebus dovecot: child 64420 (imap) killed with signal > 6 > Mar 6 16:53:31 cerebus dovecot: imap-login: Login: noprob2 [127.0.0.1] > Mar 6 16:53:54 cerebus last message repeated 4 times > Mar 6 16:56:12 cerebus last message repeated 12 times > Mar 6 16:58:12 cerebus last message repeated 11 times > Mar 6 16:58:30 cerebus dovecot: imap-login: Login: noproblems > [127.0.0.1] > Mar 6 16:58:34 cerebus last message repeated 2 times > > Any help would be appreciated. > > Thanks, > Frank
On 7.3.2005, at 01:09, F. Even wrote:> Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- > transaction.c: line 250 (mail_cache_transaction_reserve_more): > assertion failed: (size >= 2)I saw this a few times with my tests, but since it happened pretty rarely I thought it wouldn't matter much.. Guess you found a way to reproduce it much more easily. I'll try to look into it soon. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050307/451c3f0f/attachment-0001.bin>
Timo Sirainen wrote:> On 7.3.2005, at 01:09, F. Even wrote: > >> Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- >> transaction.c: line 250 (mail_cache_transaction_reserve_more): >> assertion failed: (size >= 2) > > > I saw this a few times with my tests, but since it happened pretty > rarely I thought it wouldn't matter much.. Guess you found a way to > reproduce it much more easily. I'll try to look into it soon.Very regularly... ...don't know how regularly before too long though...as I intend to move to Maildirs this next weekend. It seems to happen regularly on an 80MB mbox accessing via Squirrelmail. It doesn't surprise me much though, as UW would never do anything with teh boxes, but I figured with Dovecot's caching, etc., it might work better. As I said though, I can access it via Thunderbird no problems. Although, before with sqmail, it would just time out...whereas now with this larger mbox, it just craps out with that error. I've also just seen a new error on a 33,000+ msg. mbox using Thunderbird, but it still retrieved the msgs. (after what looks like making another connection) and updated my mailbox on the client. Here are the recent logs with both clients (I've labeled the Squirrelmail login squser and the Thunderbird login tbirduser). Mar 8 02:09:34 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es] Mar 8 02:10:34 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es] Mar 8 02:10:34 cerebus last message repeated 2 times Mar 8 02:10:58 cerebus dovecot: IMAP(tbirduser): file mail-transaction-log-view.c: line 140 (mail_transaction_log_view_set): assertion failed: (min_file_seq != max_file_seq || min_file_offset <= max_file_offset) Mar 8 02:10:58 cerebus dovecot: child 99281 (imap) killed with signal 6 Mar 8 02:10:59 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es] Mar 8 02:19:09 cerebus dovecot: imap-login: Login: randomuser [ip.ad.dr.es] Mar 8 02:20:31 cerebus dovecot: imap-login: Login: tbirduser [ip.ad.dr.es] Mar 8 02:24:11 cerebus dovecot: imap-login: Login: dfjkl [127.0.0.1] Mar 8 02:24:13 cerebus dovecot: imap-login: Login: dfjkl [127.0.0.1] Mar 8 02:24:30 cerebus dovecot: IMAP(squser): file mail-cache-transaction.c: line 250 (mail_cache_transaction_reserve_more): assertion failed: (size >= 2) Mar 8 02:24:30 cerebus dovecot: child 99481 (imap) killed with signal 6 Mar 8 02:24:31 cerebus dovecot: imap-login: Login: squser [127.0.0.1] Thanks for looking into it. Hopefully it will make Dovecot even more solid before all is said and done. I like it already though. ;-)
On Mar 8, 2005, at 12:50 AM, F. Even wrote:> Timo Sirainen wrote: >> On 7.3.2005, at 01:09, F. Even wrote: >>> Mar 6 16:50:59 cerebus dovecot: IMAP(problemuser): file mail-cache- >>> transaction.c: line 250 (mail_cache_transaction_reserve_more): >>> assertion failed: (size >= 2) >> I saw this a few times with my tests, but since it happened pretty >> rarely I thought it wouldn't matter much.. Guess you found a way to >> reproduce it much more easily. I'll try to look into it soon. > > Very regularly...Here's a recipe that works for me: Shutdown dovecot; Delete all "dovecot*" files from Maildir; Restart dovecot; Synchronize mailboxes. Every time I get a ton of the above exceptions.