[Dovecot] dovecot.index.cache File too large
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
What can I do to get rid of this error?
Best regards, p.
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.
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.
participants (2)
-
peceka
-
Timo Sirainen