[Dovecot] dovecot.index.cache File too large

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


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.
-------------- 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/2b84eb4c/attachment.bin 


More information about the dovecot mailing list