[Dovecot] squat fts index build problem

Adam McDougall mcdouga9 at egr.msu.edu
Thu Sep 18 19:41:37 EEST 2008


Possibly try increasing mail_process_size.  It defaults to 256 and I had 
to raise it to 1024 (1024 megs) to allow some squat searches to 
complete.  I also have 4G of ram.  You can also try watching the process 
in top to see how large it grows before it dies as a clue to what limit 
it is hitting.

Anton Yuzhaninov wrote:
> 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);
>



More information about the dovecot mailing list