[Dovecot] record points outside file error with dovecot revision 9116:9ae55b68cf61
Timo Sirainen
tss at iki.fi
Tue Jun 2 20:45:36 EEST 2009
On Tue, 2009-06-02 at 13:40 -0400, jsiegle at psu.edu wrote:
> > Cache file is the part of Dovecot that demands the most
> > from the OS/filesystem. The most difficult part is probably that it
> > writes to the file without locking. It first reserves a space and then
> > starts writing there. Multiple processes can write to the same file at
> > the same time. This should probably be changed at some point, since it
> > could just buffer more data to memory and then lock, write, unlock. That
> > would also make the code simpler, since it can currently leave holes to
> > the file because it has to guess initially how much space to reserve..
> >
> >
> Ok. Should I disable Cache file or what would be the best fix?
If you do that, you'll lose all the performance advantages of Dovecot.
Do you already have mmap_disable=yes? You could also try if setting
mail_nfs_index=yes happens to help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090602/53e297d0/attachment.bin
More information about the dovecot
mailing list