I tried to use squat index, but got error:
Sep 18 19:49:45 mailsupport dovecot: Fatal: IMAP(citrin): pool_system_realloc(): Out of memory Sep 18 19:49:45 mailsupport dovecot: child 77606 (imap) returned error 83 (Out of memory)
It is strange because this server has 4 Gb or RAM.
some lines from dovecot -n
mail_plugins(imap): acl mail_log zlib fts fts_squat
plugin: acl: vfile fts: squat
OS: FreeBSD 7.0-STABLE #0: Sun May 4 13:15:10 MSD 2008, amd64
Resource limits (current): cputime infinity secs filesize infinity kB datasize 33554432 kB stacksize 524288 kB coredumpsize infinity kB memoryuse infinity kB memorylocked infinity kB maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kB
IMHO it will be better to write in log requested memory size: src/lib/mempool-system.c:
- "pool_system_realloc(): Out of memory");
- "pool_system_realloc(): Out of memory, when realloc to %"PRIuSIZE_T" bytes", new_size);
-- WBR, Anton Yuzhaninov