FWIW, we see this assert on rare occasions. It has never caused any issues. Our imap server runs under very heavy loads (> 30) at times. Our setup: Solaris 9, mbox, imap and imaps only, beta7.
Jeff Earickson Colby Colllege
On Tue, 2 May 2006, Chris Wakelin wrote:
Date: Tue, 02 May 2006 13:19:31 +0100 From: Chris Wakelin <c.d.wakelin@reading.ac.uk> To: Jonathan Knight <jonathan@cs.keele.ac.uk> Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Assertion failed
Is this happening with all users, or just a significant minority that didn't include your testers?
If it happens to a minority, could you send us/me an anonymised copy of a (hopefully small) failing mbox (there's a tool provided in http://www.dovecot.org/tools/mboxcrypt.pl for doing this) and I'll try opening it with our Dovecot.
Did you compile Dovecot yourself or use a package? If the former, what configure options did you use?
Best Wishes, Chris
Jonathan Knight wrote:
We're in a bit of a panic here as we're getting a lot of errors along the lines of:
May 2 12:39:00 lenny dovecot: IMAP(XXXXX): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)
We didn't see this until our mail servers went under a full load and now we've trashed the ability of nearly all our users to read email.
We saw this first under 1.0Beta3 and we've tried building 1.0Beta7 and its made no difference. I've tried fiddling with the "dirty" settings for the indices and banning mmap to see if there's any way way of avoiding the broken code, but with no luck.
We're running White Box EL4 (2.6 Linux kernel)
Does anyone know a workaround or whether there is an older version that doesn't have the bug? We desperately need to get an email service running and I don't want to go back to (shudder) UW-imap if I can help it but my options are limited at the moment.
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094