[Dovecot] dovecot.index.cache File too large

Timo Sirainen tss at iki.fi
Fri Jul 11 18:11:16 EEST 2008


On Fri, 2008-07-11 at 18:09 +0300, Timo Sirainen wrote:
> On Fri, 2008-07-11 at 12:35 +0200, peceka wrote:
> > Hi,
> > 
> > Can sameone explain me why my logs are full of such errors:
> > 
> > Jul 11 12:07:32 mxhost deliver(user1): pwrite() failed: File too large
> > Jul 11 12:07:32 mxhost deliver(user1): file_set_size() failed with
> > index cache file /mail/user1/Maildir/.parser/dovecot.index.cache: File
> > too large
> > 
> > 
> > mxhost# ls -lh /mail/user1/Maildir/.parser/dovecot.index.cache
> > -rw-------  1 user1  emails    64M Jul 11 10:01
> > /mail/user1/Maildir/.parser/dovecot.index.cache
> > 
> > mxhost# cd /mail/user1/Maildir/.parser/
> > mxhost# ls -l new/ | wc -l
> >     1016
> > mxhost# ls -l cur | wc -l
> >   132342
> 
> 64 MB cache file looks ok for 132k mails.
> 
> > What can I do to get rid of this error?
> 
> Run "ulimit -f unlimited" before starting Dovecot.

Oh, sorry, that was deliver, which makes more sense. :) Drop the mailbox
size limit from your MTA, which basically works by doing the same as the
ulimit. If you're using Postfix, set mailbox_size_limit=0.
-------------- 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/20080711/0768d8e2/attachment.bin 


More information about the dovecot mailing list