On 1/30/2010 9:08 AM, Philipp Snizek wrote:
On 30.01.2010 14:38, Timo Sirainen wrote:
On Sat, 2010-01-30 at 08:31 +0100, Philipp Snizek wrote:
2010-01-30 08:12:50 sleipnir local7.err dovecot IMAP(s...@dom.com):
read(/var/tmp/dovecot/spam/indexes/.INBOX_score20/dovecot.index.search.uids)
failed: Cannot allocate memory
I'm not really sure why read() would say that.
2010-01-30 08:12:50 sleipnir local7.err dovecot IMAP(s...@dom.com):
mremap_anon(44609536) failed: Invalid argument
This failing with "Cannot allocate memory" would make more sense.
Anyway, solution is to change mail_process_size, either increase it or
set it to 0 to disable the limit.
Thanks. I changed the mail_process_size. It works now and searching is
now pretty damn fast!
What's the default limit on mail_process_size?
http://wiki.dovecot.org/MainConfig
mail_process_size = 256
Set max. process size in megabytes. Most of the memory goes to
mmap()ing files, so it shouldn't harm much even if this limit is set
pretty high.
M.A.